From f8d3e968ed970f5274a2b582ea2c7db0834bdc52 Mon Sep 17 00:00:00 2001 From: ac-stef Date: Mon, 27 Jan 2014 13:37:39 +0100 Subject: [PATCH] fix clang warnings --- source/src/bot/bot_waypoint.cpp | 2 +- source/src/zip.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/src/bot/bot_waypoint.cpp b/source/src/bot/bot_waypoint.cpp index 2cffb269..520c686b 100644 --- a/source/src/bot/bot_waypoint.cpp +++ b/source/src/bot/bot_waypoint.cpp @@ -848,7 +848,7 @@ void CWaypointClass::DeleteWaypoint(vec v_src) if (!pWP) { - conoutf("Error: Couldnīt find near waypoint"); + conoutf("Error: Couldn't find near waypoint"); return; } diff --git a/source/src/zip.cpp b/source/src/zip.cpp index c8ecbdd3..0b85cc57 100644 --- a/source/src/zip.cpp +++ b/source/src/zip.cpp @@ -550,7 +550,7 @@ struct zipstream : stream bool extractzipfile(ziparchive *a, zipfile *f, const char *name) { zipstream *s = new zipstream; - FILE *target; + FILE *target = NULL; defformatstring(fname)("%s", findfile(name, "wb")); preparedir(fname); bool error = false;