Skip to content
Snippets Groups Projects
Commit 5ee74077 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix CID 350312: Uninitialized scalar variable

parent da406c0a
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -1166,6 +1166,7 @@ void packmsgs(ulong packable)
}
total=0;
for(l=0;l<smb.status.total_msgs;l++) {
ZERO_VAR(msg);
fseek(smb.sid_fp, l * idxreclen,SEEK_SET);
printf("%lu of %"PRIu32"\r",l+1,smb.status.total_msgs);
if(!fread(&msg.idx, sizeof(msg.idx), 1, smb.sid_fp))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment