Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37910496
en ru br
ALT Linux repositórios
S:0.3.2-alt2_29

Group :: Jogos/Outros
RPM: asylum

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: asylum-0.3.2-alt-gcc8.patch
Download


diff --git a/asylum/file.c b/asylum/file.c
index 48e1346..9ceaacc 100644
--- a/asylum/file.c
+++ b/asylum/file.c
@@ -347,6 +347,9 @@ int swi_osfile(int op, const char* name, char* start, char* end)
         fclose(f);
         return 0;
     }
+
+    // should never be reached, value isn't important
+    return 0;
 }
 
 int swi_blitz_hammerop(int op, char* name, char* path, char* space)
diff --git a/asylum/keyboard.c b/asylum/keyboard.c
index 2bf8922..f307565 100644
--- a/asylum/keyboard.c
+++ b/asylum/keyboard.c
@@ -88,7 +88,7 @@ char swi_oscrc(int w, char* start, char* end, int bytes)
 
 int swi_joystick_read(int a, int* x, int* y)
 {
-    ;
+    return 0;
 }
 
 void update_keyboard()
diff --git a/asylum/sound.c b/asylum/sound.c
index 90302c8..785b342 100644
--- a/asylum/sound.c
+++ b/asylum/sound.c
@@ -393,7 +393,7 @@ void swi_sound_control(int c, int a, int p, int d)
 }
 int swi_sound_speaker(int s)
 {
-    ;
+    return 0;
 }
 void swi_stasis_link(int a, int b)
 {
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009