Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2008-12-28 04:13:04 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2008-12-28 04:13:38 (GMT)
commit58d2a51f67a65703b38f464927052e3a72b34245 (patch)
tree54cdca228137f06ade96682284c13c4dd02191d0 /common
parent75783661aa4cbb16f5f01d08b4330320739e3031 (diff)
fix gcc warnings
Diffstat (limited to 'common')
-rw-r--r--common/Util/Clooper/audio.cpp2
1 files changed, 1 insertions, 1 deletions
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