[Olsr-cvs] olsrd-current/src main.c,1.91,1.92

Andreas T�nnesen (spam-protected)
Sat Feb 24 12:54:26 CET 2007


Update of /cvsroot/olsrd/olsrd-current/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv1333/src

Modified Files:
	main.c 
Log Message:
Fix for compiler warning

Index: main.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/main.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -C2 -d -r1.91 -r1.92
*** main.c	4 Feb 2007 23:27:55 -0000	1.91
--- main.c	24 Feb 2007 11:54:24 -0000	1.92
***************
*** 106,109 ****
--- 106,112 ----
    struct tms tms_buf;
  
+   /* Stop the compiler from complaining */
+   (void)copyright_string;
+ 
    debug_handle = stdout;
    olsr_argv = argv;
***************
*** 405,411 ****
    scheduler();
  
-   /* Stop the compiler from complaining */
-   strlen(copyright_string);
- 
    /* Like we're ever going to reach this ;-) */
    return 1;
--- 408,411 ----





More information about the Olsr-cvs mailing list