Commit 5ee74077 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Fix CID 350312: Uninitialized scalar variable

parent da406c0a
......@@ -1166,6 +1166,7 @@ void packmsgs(ulong packable)
for(l=0;l<smb.status.total_msgs;l++) {
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))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment