mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 18:08:53 +00:00
Remove unused variable in virtual_table (#2210)
This commit is contained in:
parent
ca3cc5cf03
commit
662b1483d5
@ -282,7 +282,6 @@ int xColumn(sqlite3_vtab_cursor *cur, sqlite3_context *ctx, int col) {
|
||||
char *end = nullptr;
|
||||
double afinite = strtod(value.c_str(), &end);
|
||||
if (end == nullptr || end == value.c_str() || *end != '\0') {
|
||||
afinite = 0;
|
||||
VLOG(1) << "Error casting " << column_name << " (" << value
|
||||
<< ") to DOUBLE";
|
||||
sqlite3_result_null(ctx);
|
||||
|
Loading…
Reference in New Issue
Block a user