You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
Fix clang -Wunused-but-set-variable
This commit is contained in:
@@ -210,12 +210,6 @@ int fetch_n(MYSQL *mysql, const char **query_list, unsigned query_count,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!error_count)
|
|
||||||
{
|
|
||||||
unsigned total_row_count= 0;
|
|
||||||
for (fetch= fetch_array; fetch < fetch_array + query_count; ++fetch)
|
|
||||||
total_row_count+= fetch->row_count;
|
|
||||||
}
|
|
||||||
for (fetch= fetch_array; fetch < fetch_array + query_count; ++fetch)
|
for (fetch= fetch_array; fetch < fetch_array + query_count; ++fetch)
|
||||||
stmt_fetch_close(fetch);
|
stmt_fetch_close(fetch);
|
||||||
free(fetch_array);
|
free(fetch_array);
|
||||||
|
Reference in New Issue
Block a user