Issue #3003 has been reported by dcb.

----------------------------------------
Bug #3003: lib/libkvm/kvm.c:138: suspicious comparison ?
http://bugs.dragonflybsd.org/issues/3003

* Author: dcb
* Status: New
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
lib/libkvm/kvm.c:138]: (warning) Char literal compared with pointer 'p'. Did 
you intend to dereference it?

Source code is

    for (; p != '\0'; ++p)

Maybe better code

     for (; *p != '\0'; ++p)



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://bugs.dragonflybsd.org/my/account

Reply via email to