[haiku-development] Re: batch of small patches

  • From: viktor muntzing <viktor.muntzing@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 11 Jan 2016 21:33:04 +0100

oops, sorry.

I'm checking with cppcheck. Will provide a new patch

2016-01-11 21:18 GMT+01:00 Adrien Destugues <pulkomandy@xxxxxxxxx>:

On Mon, Jan 11, 2016 at 08:34:27PM +0100, viktor muntzing wrote:
Picking some low hanging fruits from static analysis :)

Did you use the existing coverity or PVS scans? If so, it would help if
you could mention the issue numbers.

Subject: [PATCH 2/4] acpi - NamespaceDump - Removed compare to less than
0 and
better check of byte length


- if (toWrite <= 0)
+ if (toWrite = 0)
break;

Please review your patches before submitting.

--
Adrien.


Other related posts: