From 8f8971b3b0c7835acdd6e0f1f451f6c70e374e54 Mon Sep 17 00:00:00 2001 From: fdai7057 Date: Fri, 10 Feb 2023 21:12:21 +0100 Subject: [PATCH] bug fix: add return statement in default. --- src/error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.c b/src/error.c index a6a19f3..d3b66cc 100644 --- a/src/error.c +++ b/src/error.c @@ -53,7 +53,7 @@ int errorMessage(int errorCode) returnValue = -12; break; default: - // puts("Error code unknown."); + return -13; } return returnValue; }