Remove unused variable in virtual_table (#2210)

This commit is contained in:
Teddy Reed 2016-06-30 18:41:43 -07:00 committed by GitHub
parent ca3cc5cf03
commit 662b1483d5

View File

@ -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);