cepheid

An Aurora 4X clone
Log | Files | Refs | README

commit 38a4c8da499f06d4e67a46781f6d0b649654d4a3
parent f5d3ed3131b0f66efaf8fb06a29510f8c41759c7
Author: hhvn <dev@hhvn.uk>
Date:   Mon, 28 Nov 2022 07:59:18 +0000

Add return to shut the compiler up

error() should really be noreturn, but it's a macro to a function that
can return so..

Diffstat:
Msrc/system.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/system.c b/src/system.c @@ -267,4 +267,5 @@ sys_default(void) { return save->systems.d->data; else error(1, "could not locate any systems\n"); + return NULL; /* not actually reached due to error() */ }