summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dpmcgee@gmail.com>2011-04-06 09:58:56 -0500
committerDan McGee <dpmcgee@gmail.com>2011-04-06 09:58:56 -0500
commitd7223bd4a05dc3b7a39b3610bef748953376a476 (patch)
tree146940f00fa140d49273bc574e87cbd0c9cf5249
parent994a98ba1c4c925b32e941253b495ae8b9e10c4b (diff)
downloadonkyocontrol-d7223bd4a05dc3b7a39b3610bef748953376a476.tar.gz
onkyocontrol-d7223bd4a05dc3b7a39b3610bef748953376a476.zip
Fix uninitialized variable warning
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
-rw-r--r--onkyo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/onkyo.c b/onkyo.c
index 164c6aa..3bcbff3 100644
--- a/onkyo.c
+++ b/onkyo.c
@@ -657,7 +657,7 @@ static int process_input(struct conn *c)
* so we can parse out and execute one command. */
while(count > 0) {
if(*c->recv_buf_pos == '\n') {
- int processret;
+ int processret = 0;
struct receiver *r;
/* We have a newline. This means we should have a full command
* and can attempt to interpret it. */