From 58d2a51f67a65703b38f464927052e3a72b34245 Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Sun, 28 Dec 2008 04:13:04 +0000 Subject: fix gcc warnings --- (limited to 'common') diff --git a/common/Util/Clooper/audio.cpp b/common/Util/Clooper/audio.cpp index 9a030c0..d9870f0 100644 --- a/common/Util/Clooper/audio.cpp +++ b/common/Util/Clooper/audio.cpp @@ -193,7 +193,7 @@ open_error: ll->printf(0, "ERROR: attempt to write a closed phandle\n"); return -1; } - int err; + int err = 0; while (frame_count > 0) { err = snd_pcm_writei (phandle, frame_data, frame_count ); if (err == (signed)frame_count) return 0; //success -- cgit v0.9.1