diff options
author | Dan McGee <dpmcgee@gmail.com> | 2011-04-06 09:58:56 -0500 |
---|---|---|
committer | Dan McGee <dpmcgee@gmail.com> | 2011-04-06 09:58:56 -0500 |
commit | d7223bd4a05dc3b7a39b3610bef748953376a476 (patch) | |
tree | 146940f00fa140d49273bc574e87cbd0c9cf5249 | |
parent | 994a98ba1c4c925b32e941253b495ae8b9e10c4b (diff) | |
download | onkyocontrol-d7223bd4a05dc3b7a39b3610bef748953376a476.tar.gz onkyocontrol-d7223bd4a05dc3b7a39b3610bef748953376a476.zip |
Fix uninitialized variable warning
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
-rw-r--r-- | onkyo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. */ |