Fix: Take care of uninitialized variable condition
authorDenis Kenzior <denkenz@gmail.com>
Thu, 28 Jan 2010 20:31:22 +0000 (14:31 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Thu, 28 Jan 2010 20:38:59 +0000 (14:38 -0600)
commitfb918d39ba275cdd3270160f18a1fc43f29dcea6
treedaf61cc837be86970baf32e7d7bf4f9de1cc2fe0
parent2e4bcbf0ac777c0c199440ef62e58054b2fbfc3e
Fix: Take care of uninitialized variable condition

In some (impossible) circumstances rbytes and err might be used
uninitialized.  Here we make a check that a read was actually attempted
before checking those variables.
gatchat/gatchat.c