[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fossil-dev
Subject:    [fossil-dev] GCC 7.2 Compiler warning
From:       Zakero <zakero () gmail ! com>
Date:       2017-12-15 17:45:13
Message-ID: CAKzYXC2SQJR1hHQ-3z3U_0epyk0bzz3V1v7PfOFqnh35hq5Maw () mail ! gmail ! com
[Download RAW message or body]

Hello Fossil Devs!

Encountered a compiler warning from fossil checkout
2c8bff0b2bab67979a48c0b8907862d58bbdf596.

The compiler I am using, GCC, is from openSuSE Tumbleweed:
gcc (SUSE Linux) 7.2.1 20171020 [gcc-7-branch revision 253932]

Below is the warning:

./src/util.c: In function ‘fossil_timer_start':
./src/util.c:284:5: warning: ‘memset' used with length equal to number of
elements without multiplication by element size [-Wmemset-elt-size]
     memset(&fossilTimerList, 0,


Thanks!


Zakero
_______________________________________________
fossil-dev mailing list
fossil-dev@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic