Initialize variables to get rid of '<foo> may be used uninitialized in this function' warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37310 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -524,7 +524,7 @@ read_cdtext(int fd, struct cdtext &cdtext)
|
||||
|
||||
while (true) {
|
||||
size_t length = sizeof(text);
|
||||
uint8 id, track;
|
||||
uint8 id = 0, track = 0;
|
||||
|
||||
if (!parse_pack_data(pack, packLength, lastPack, id, track,
|
||||
state, text, length))
|
||||
|
||||
Reference in New Issue
Block a user