Permalink
Browse files

Remove some more unneeded code

  • Loading branch information...
1 parent 4243ac2 commit d596a1d0ba367a9739fcb45c8c67e0d506ec1ee7 @jgoerzen jgoerzen committed Nov 17, 2010
Showing with 1 addition and 4 deletions.
  1. +1 −1 HDBC-odbc.cabal
  2. +0 −2 hdbc-odbc-helper.c
  3. +0 −1 hdbc-odbc-helper.h
View
@@ -40,7 +40,7 @@ Library
ForeignFunctionInterface,
PatternSignatures
Build-Depends: base >= 4 && < 5, mtl, HDBC>=2.1.0, utf8-string, bytestring
- GHC-Options: -optc -ggdb
+ GHC-Options: -O2
C-Sources: hdbc-odbc-helper.c
if os(mingw32) || os(win32)
Extra-Libraries: odbc32
View
@@ -10,8 +10,6 @@
SQLLEN nullDataHDBC = SQL_NULL_DATA;
-char *emptyBuffer = "";
-
int sqlSucceeded(SQLRETURN ret) {
return SQL_SUCCEEDED(ret);
}
View
@@ -26,7 +26,6 @@ extern void sqlFreeHandleSth_app(finalizeonce *res);
extern void sqlFreeHandleSth_finalizer(finalizeonce *res);
extern SQLLEN nullDataHDBC;
-extern char *emptyBuffer;
extern void *getSqlOvOdbc3(void);
extern SQLRETURN disableAutoCommit(SQLHDBC conn);

0 comments on commit d596a1d

Please sign in to comment.