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
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)
{