Fix: Take care of uninitialized variable condition
authorDenis Kenzior <denkenz@gmail.com>
Thu, 28 Jan 2010 20:31:22 +0000 (14:31 -0600)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 28 Jan 2010 20:41:46 +0000 (21:41 +0100)
commit640e23b3e8f486b0174a861505d7c6269d5bcba2
treec761f16019f9af880a435c27eacce8335a4d3cdb
parent47b376927ad96749f6509fe8ed211ce3ead39ac4
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