Dear chrony developers,
using the Clang static analyzer scan-build from Debian Clang version
3.4-1, the following warnings are printed.
$ git describe origin/master
1.29-3-g169eee6
$ scan-build -analyze-headers -o scan-build make -j2
scan-build: Using
Am Donnerstag, den 03.10.2013, 14:48 +0200 schrieb Miroslav Lichvar:
> On Thu, Oct 03, 2013 at 02:34:46PM +0200, Paul Menzel wrote:
> > The Clang static analyzer scan-build found the following unneeded
> > assignment.
> >
> > /usr/share/clang/scan-build/ccc-an
List-Post: chrony-dev@chrony.tuxfamily.org
Date: Thu, 3 Oct 2013 14:37:31 +0200
The Clang static analyzer scan-build from Debian clang version 3.4-1
found the following unneeded assignment.
rtc_linux.c:756:5: warning: Value stored to 'error' is never read
error = 1;
List-Post: chrony-dev@chrony.tuxfamily.org
Date: Thu, 3 Oct 2013 14:22:37 +0200
The Clang static analyzer scan-build from Debian clang version 3.4-1
currently issues the following two warnings.
/usr/share/clang/scan-build/ccc-analyzer -O2 -g -c sourcestats.c
sourcestats.c:625:5: