From 713420989680f46fe520d3c10664bb08ab81898a Mon Sep 17 00:00:00 2001 From: Alexey Romanov Date: Mon, 24 Jan 2011 11:59:03 +0300 Subject: [PATCH] Remove useless assignment to const char *rest --- c_src/sqlite3_drv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/c_src/sqlite3_drv.c b/c_src/sqlite3_drv.c index 50f4edd..4ba530d 100644 --- a/c_src/sqlite3_drv.c +++ b/c_src/sqlite3_drv.c @@ -242,7 +242,7 @@ static inline int sql_exec_statement( static int sql_exec(sqlite3_drv_t *drv, char *command, int command_size) { int result; - const char *rest = NULL; + const char *rest; sqlite3_stmt *statement; #ifdef DEBUG @@ -440,7 +440,7 @@ static int sql_bind_and_exec(sqlite3_drv_t *drv, char *buffer, int buffer_size) int result; int index = 0; int type, size; - const char *rest = NULL; + const char *rest; sqlite3_stmt *statement; long bin_size; char *command; @@ -915,7 +915,7 @@ static void ready_async(ErlDrvData drv_data, ErlDrvThreadData thread_data) { static int prepare(sqlite3_drv_t *drv, char *command, int command_size) { int result; - const char *rest = NULL; + const char *rest; sqlite3_stmt *statement; ErlDrvTermData spec[6];