projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9211a7
)
fix uninitialized warnings
author
Philip Kovacs
<pkovacs@users.sourceforge.net>
Mon, 26 Feb 2007 20:56:43 +0000
(20:56 +0000)
committer
Philip Kovacs
<pkovacs@users.sourceforge.net>
Mon, 26 Feb 2007 20:56:43 +0000
(20:56 +0000)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@845
7f574dfc
-610e-0410-a909-
a81674777703
src/mboxscan.c
patch
|
blob
|
history
diff --git
a/src/mboxscan.c
b/src/mboxscan.c
index
768b222
..
d11bd0f
100644
(file)
--- a/
src/mboxscan.c
+++ b/
src/mboxscan.c
@@
-93,7
+93,7
@@
void mbox_scan(char *args, char *output, size_t max_len)
/* end - argument checking */
/* build up double-linked ring-list to hold data, while scanning down the mbox */
- struct ring_list *curr, *prev, *start;
+ struct ring_list *curr=0, *prev=0, *start=0;
for (i = 0; i < print_mails; i++) {
curr = (struct ring_list *)malloc(sizeof(struct ring_list));