Hello All,
Sorry for the spam to the list tonight...
I noticed a compile warning generated while building Fossil from latest:
./src/main.c:902:18: warning: using the result of an assignment as a
condition without parentheses [-Wparentheses]
while( zOption = find_option(zLong, zShort, 1) ){
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/main.c:902:18: note: place parentheses around the assignment to
silence this warning
while( zOption = find_option(zLong, zShort, 1) ){
^
( )
./src/main.c:902:18: note: use '==' to turn this assignment into an
equality comparison
while( zOption = find_option(zLong, zShort, 1) ){
^
==
1 warning generated.
--
-------
inum: 883510009027723
sip: [email protected]
xmpp: [email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users