From c19669147e4d54f17fcc2c9cf6066b59956fa188 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 26 Jan 2015 14:29:16 +0200 Subject: Remove unnecessary variable, parameter list --- mssql/stored-proc/driver.cxx | 1 - mssql/stored-proc/test.hxx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mssql/stored-proc/driver.cxx b/mssql/stored-proc/driver.cxx index 2878486..afb5fe5 100644 --- a/mssql/stored-proc/driver.cxx +++ b/mssql/stored-proc/driver.cxx @@ -182,7 +182,6 @@ main (int argc, char* argv[]) "AS" " DECLARE @id INT;" " DECLARE @ret INT;" - " DECLARE @tbl TABLE(dummy INT);" " EXEC @ret = insert_object_id @n, @s, @id OUTPUT;" " SELECT @ret, @id;"); diff --git a/mssql/stored-proc/test.hxx b/mssql/stored-proc/test.hxx index d302630..cb02920 100644 --- a/mssql/stored-proc/test.hxx +++ b/mssql/stored-proc/test.hxx @@ -44,7 +44,7 @@ struct select_objects std::string str; }; -#pragma db view query("EXEC objects_min_max_odb (?)") +#pragma db view query("EXEC objects_min_max_odb") struct objects_min_max { unsigned int num_min; -- cgit v1.1