From: Kern Sibbald Date: Fri, 6 Nov 2009 20:56:18 +0000 (+0100) Subject: Tweak myingres.c so it build only when HAVE_INGRES X-Git-Tag: Release-5.0.0~96 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=de689f9a65f1c82ecc32411019d5d301f81ad971;p=bacula%2Fbacula Tweak myingres.c so it build only when HAVE_INGRES --- diff --git a/bacula/src/cats/myingres.c b/bacula/src/cats/myingres.c index 17e5ffc9bb..16792f735c 100644 --- a/bacula/src/cats/myingres.c +++ b/bacula/src/cats/myingres.c @@ -9,8 +9,6 @@ extern IISQLCA sqlca; /* SQL Communications Area */ #include - - #include "myingres.h" #define INGRES_DEBUG 0 #define DEBB(x) if (INGRES_DEBUG >= x) { @@ -230,6 +228,7 @@ void INGfreeRowSpace(ING_ROW *row, IISQLDA *sqlda) int i; if (row == NULL || sqlda == NULL) { + printf("INGfreeRowSpace: one argument is NULL!\n"); return; } for ( i = 0 ; i < sqlda->sqld ; ++i )