Re: cppcheck and btrfs

2011-03-14 Thread Ilya Dryomov
On Tue, Mar 15, 2011 at 07:32:13AM +1100, Chris Samuel wrote: > Hi Chris, et. al, > > I've recently come across cppcheck (static analyser for C code) > and ran it on the current btrfs directory from Linus's repo and > it's reported the following potential issues: > > linux-2.6$ cppcheck -q fs/btr

cppcheck and btrfs

2011-03-14 Thread Chris Samuel
Hi Chris, et. al, I've recently come across cppcheck (static analyser for C code) and ran it on the current btrfs directory from Linus's repo and it's reported the following potential issues: linux-2.6$ cppcheck -q fs/btrfs/ [fs/btrfs/compression.c:343]: (error) Data is allocated but not initiali