Actions
Bug #3003
closedlib/libkvm/kvm.c:138: suspicious comparison ?
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/31/2017
Due date:
% Done:
0%
Estimated time:
Description
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)
Actions