[mcedaemon] r74 committed - * Wed Apr 14 2010 Tim Hockin <thockin@google.com>...

1 view
Skip to first unread message

mced...@googlecode.com

unread,
Apr 14, 2010, 2:32:29 PM4/14/10
to mced-...@googlegroups.com
Revision: 74
Author: thockin
Date: Wed Apr 14 11:31:40 2010
Log: * Wed Apr 14 2010 Tim Hockin <tho...@google.com>
- Fix compiler warning in opt mode (cra...@google.com). [cmdline.c]

http://code.google.com/p/mcedaemon/source/detail?r=74

Modified:
/trunk/Changelog
/trunk/cmdline.c

=======================================
--- /trunk/Changelog Tue Apr 13 09:35:02 2010
+++ /trunk/Changelog Wed Apr 14 11:31:40 2010
@@ -1,4 +1,7 @@
%changelog
+* Wed Apr 14 2010 Tim Hockin <tho...@google.com>
+ - Fix compiler warning in opt mode (cra...@google.com). [cmdline.c]
+
* Tue Apr 13 2010 Tim Hockin <tho...@google.com>
- Change -O (--oldsocket) behavior to take an argument and open both the
old and new style sockets. [mced.c, mced.h, mced.8, rules.c]
=======================================
--- /trunk/cmdline.c Sun Feb 21 16:53:21 2010
+++ /trunk/cmdline.c Wed Apr 14 11:31:40 2010
@@ -80,7 +80,7 @@
int
cmdline_parse(int *argc, const char ***argv, const struct cmdline_opt
*opts)
{
- int retval;
+ int retval = 0;
const char **new_argv;
int new_argc;
int found_dash_dash = 0;

Reply all
Reply to author
Forward
0 new messages