summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/initfile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc
index 247cde2076..3d5c8f651f 100644
--- a/crawl-ref/source/initfile.cc
+++ b/crawl-ref/source/initfile.cc
@@ -3452,9 +3452,9 @@ std::string find_executable_path()
tempPath[0] = 0;
#if defined ( _MSC_VER )
- int retval = GetModuleFileName ( NULL, tempPath, sizeof(tempPath) );
+ GetModuleFileName ( NULL, tempPath, sizeof(tempPath) );
#elif defined ( __linux__ )
- int retval = readlink ( "/proc/self/exe", tempPath, sizeof(tempPath) );
+ readlink ( "/proc/self/exe", tempPath, sizeof(tempPath) );
#elif defined ( __MACH__ )
strncpy ( tempPath, NXArgv[0], sizeof(tempPath) );
#else