[Vm-dev] [commit][2873] add missing values to non-void returns

commits at squeakvm.org commits at squeakvm.org
Thu Mar 6 23:26:58 UTC 2014


Revision: 2873
Author:   piumarta
Date:     2014-03-06 15:26:55 -0800 (Thu, 06 Mar 2014)
Log Message:
-----------
add missing values to non-void returns

Modified Paths:
--------------
    trunk/platforms/unix/CMakeLists.txt
    trunk/platforms/unix/ChangeLog
    trunk/platforms/unix/vm-sound-pulse/sqUnixSoundPulseAudio.c

Modified: trunk/platforms/unix/CMakeLists.txt
===================================================================
--- trunk/platforms/unix/CMakeLists.txt	2014-03-06 20:51:00 UTC (rev 2872)
+++ trunk/platforms/unix/CMakeLists.txt	2014-03-06 23:26:55 UTC (rev 2873)
@@ -1,6 +1,6 @@
 # Yes, it's true: you can write makefiles in COBOL.
 # 
-# Last edited: 2013-11-11 18:46:18 by piumarta on emilia
+# Last edited: 2013-12-06 14:09:50 by piumarta on emilia
 
 PROJECT (squeak)
 
@@ -139,7 +139,7 @@
 CONFIG_DEFINE (ioUtcWithOffset)
 
 SET (CMAKE_SKIP_BUILD_RPATH TRUE)
-SET (CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) 
+SET (CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
 SET (CMAKE_INSTALL_RPATH "")
 SET (CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
 

Modified: trunk/platforms/unix/ChangeLog
===================================================================
--- trunk/platforms/unix/ChangeLog	2014-03-06 20:51:00 UTC (rev 2872)
+++ trunk/platforms/unix/ChangeLog	2014-03-06 23:26:55 UTC (rev 2873)
@@ -1,3 +1,8 @@
+2014-03-07  Ian Piumarta  <com -dot- gmail -at- piumarta (backwards)>
+
+	* vm-sound-pulse/sqUnixSoundPulseAudio.c: Add missing values to
+	non-void returns.
+
 2013-11-18  Ian Piumarta  <com -dot- gmail -at- piumarta (backwards)>
 
 	* vm/build.cmake: Remove disabledPlugins.c from list of source

Modified: trunk/platforms/unix/vm-sound-pulse/sqUnixSoundPulseAudio.c
===================================================================
--- trunk/platforms/unix/vm-sound-pulse/sqUnixSoundPulseAudio.c	2014-03-06 20:51:00 UTC (rev 2872)
+++ trunk/platforms/unix/vm-sound-pulse/sqUnixSoundPulseAudio.c	2014-03-06 23:26:55 UTC (rev 2873)
@@ -25,7 +25,7 @@
  *   FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  *   DEALINGS IN THE SOFTWARE.
  *
- * Last edited: 2010-04-13 07:45:37 by piumarta on ubuntu
+ * Last edited: 2014-03-07 08:25:10 by piumarta on emilia.local
  */
 
 /* ========== */
@@ -995,10 +995,10 @@
 static sqInt sound_StopRecording(void) {
 DBGMSG(">sound_StopRecording()");
 
-	if (!audioIn.open) return;
+	if (!audioIn.open) return 0;
 	audioIn.open = false;
 	
-	if (NULL == audioIn.pa_conn) return;
+	if (NULL == audioIn.pa_conn) return 1;
 	
 	ioThreadStall(&audioIn);
 



More information about the Vm-dev mailing list