Package: enemylines7 / 0.6-6

10-turn-off-useless-warnings.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: =?utf-8?q?Gon=C3=A9ri_Le_Bouder?= <[email protected]>
Date: Sun, 11 Aug 2013 11:39:25  0200
Subject: 10 turn off useless warnings

---
 main.cc | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/main.cc b/main.cc
index e31a03e..da6a781 100644
--- a/main.cc
    b/main.cc
@@ -30,14  30,6 @@ namespace PRJID {
 std::string load_audio(std::string dir) {
    std::string path;
    if (dir=="") {
-      path="data/";
-      std::cout << "  Looking in " << path << std::endl;
-      if (Audio::load(path)) return path;
-      path="/usr/local/share/";
-      path =PATHNAME;
-      path ="/";
-      std::cout << "  Looking in " << path << std::endl;
-      if (Audio::load(path)) return path;
       path="/usr/share/games/";
       path =PATHNAME;
       path ="/";