mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
[vtable] Fix warning for process in-condition assignment
This commit is contained in:
parent
79dc35e437
commit
2063252f73
@ -87,7 +87,7 @@ QueryData genProcesses() {
|
||||
PROCTAB* proc = openproc(PROC_SELECTS);
|
||||
|
||||
// Populate proc struc for each process.
|
||||
while (proc_info = readproc(proc, NULL)) {
|
||||
while ((proc_info = readproc(proc, NULL))) {
|
||||
Row r;
|
||||
|
||||
r["pid"] = boost::lexical_cast<std::string>(proc_info->tid);
|
||||
|
Loading…
Reference in New Issue
Block a user