summaryrefslogtreecommitdiffstats
path: root/src/api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/api.c')
-rw-r--r--src/api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api.c b/src/api.c
index a48613f..a652e3a 100644
--- a/src/api.c
+++ b/src/api.c
@@ -154,11 +154,11 @@ enum sc_return sc_query_google (const char * s, /* breaking change: changed retu
char * imageclass = NULL;
htmlDocPtr xmldoc = NULL;
char * txtdoc = NULL;
+ int qwasgiven = 0;
if (!s || !c) {
rs = SC_BADCALL;
goto rc;
}
- int qwasgiven = 0;
int sl = strlen(s);
if (!q)
q = sc_query_init();