(mail_delete): Initialize auto variables.
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -49,8 +49,8 @@ mail_delete (int argc, char **argv) | ... | @@ -49,8 +49,8 @@ mail_delete (int argc, char **argv) |
49 | unsigned int here = realcursor; | 49 | unsigned int here = realcursor; |
50 | do | 50 | do |
51 | { | 51 | { |
52 | message_t msg; | 52 | message_t msg = NULL; |
53 | attribute_t attr; | 53 | attribute_t attr = NULL; |
54 | 54 | ||
55 | mailbox_get_message (mbox, realcursor, &msg); | 55 | mailbox_get_message (mbox, realcursor, &msg); |
56 | message_get_attribute (msg, &attr); | 56 | message_get_attribute (msg, &attr); | ... | ... |
-
Please register or sign in to post a comment