From: Stefan Beller Date: Wed, 17 Jul 2013 22:16:36 GMT Subject: Re: [PATCH] Fix some sparse warnings Message-ID: <51E717C4.6010606@googlemail.com> In-Reply-To: <51E715D8.9040307@googlemail.com> On 07/18/2013 12:08 AM, Stefan Beller wrote: > > So I started using the clang code analyzer on git. One of the > first warnings actually is this: > So in case somebody else would also like to play around with the clang static code analyzer: # get clang: cd git clone http://llvm.org/git/llvm.git cd llvm/tools git clone http://llvm.org/git/clang cd mkdir build && cd build cmake .. # if desired make install # in the Makefile of git change CC = /llvm/tools/clang/tools/scan-build/ccc-analyzer # then obviously: make clean make