summaryrefslogtreecommitdiff
path: root/pikul.c
diff options
context:
space:
mode:
Diffstat (limited to 'pikul.c')
-rw-r--r--pikul.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pikul.c b/pikul.c
index 00d1284..c96b51d 100644
--- a/pikul.c
+++ b/pikul.c
@@ -130,7 +130,7 @@ void pikul_init(enum pikul_company company, char *provisions[])
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
#endif
shipping->headers = NULL;
- const char **fields;
+ const char **fields = NULL;
shipping_list[company] = shipping;
switch (company) {
case PIKUL_ANTERAJA:
@@ -205,7 +205,7 @@ char *pikul_html(char *origins[], char *destinations[], double weight,
const char *widget, const char *extra, const char *name, const char *value,
char *code_prefixes[], char *name_prefixes[])
{
- char *html;
+ char *html = NULL;
struct pikul_service **services[PIKUL_END];
bool no_service = true;
for (enum pikul_company company = PIKUL; company < PIKUL_END; company++) {