summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Sagunov <danilka.pro@gmail.com>2013-11-04 14:05:16 +0400
committerDan Sagunov <danilka.pro@gmail.com>2013-11-04 14:05:16 +0400
commit61bc04f3a499c4ff856a37d161219d6de733d9d1 (patch)
tree123f9440200c511c37c612e8a0f4bfaace1f3634
parentdb57c5be30ff61394b7fff8b0c7fa0101e66d6c0 (diff)
downloadmv-61bc04f3a499c4ff856a37d161219d6de733d9d1.tar.gz
mv-61bc04f3a499c4ff856a37d161219d6de733d9d1.tar.bz2
mv-61bc04f3a499c4ff856a37d161219d6de733d9d1.tar.xz
mv-61bc04f3a499c4ff856a37d161219d6de733d9d1.zip
Remove nacl debug things
-rw-r--r--src/client.cpp1
-rw-r--r--src/main.cpp13
-rw-r--r--src/utils/mkdir.cpp2
3 files changed, 0 insertions, 16 deletions
diff --git a/src/client.cpp b/src/client.cpp
index d25261ab6..a64ed424a 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -141,7 +141,6 @@
#include <sys/stat.h>
#include <climits>
-#include <errno.h>
#include <fstream>
#include "mumblemanager.h"
diff --git a/src/main.cpp b/src/main.cpp
index 765d0d11c..65b6e98ef 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -48,10 +48,6 @@
#include <windows.h>
#endif
-#ifdef __native_client__
-#include <sys/mount.h>
-#endif
-
#include <SDL_image.h>
#include <SDL_mixer.h>
#include <SDL_version.h>
@@ -278,15 +274,6 @@ int main(int argc, char *argv[])
LoadLibrary("exchndl.dll");
#endif
-#if defined __native_client__
- // for now for debug hardcoded path
- umount("/");
- mount("", "/", "memfs", 0, "");
- mount("", "/persistent", "html5fs", 0,
- "type=PERSISTENT,expected_size=104857600");
- mount("http://localhost:5103/my/manaplus", "/http", "httpfs", 0, "");
-#endif
-
selfName = argv[0];
// Parse command line options
diff --git a/src/utils/mkdir.cpp b/src/utils/mkdir.cpp
index 959b15b04..3108d1afa 100644
--- a/src/utils/mkdir.cpp
+++ b/src/utils/mkdir.cpp
@@ -36,8 +36,6 @@
#include <cstdlib>
#endif
-#include <errno.h>
-
#include "debug.h"
#if defined WIN32