beterraba

commit 5d826b11264851101b1354d2f6fc6d5ec1716116

Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>

types: remove void return value from strstatus

 beterraba/types.ha | 4 +---


diff --git a/beterraba/types.ha b/beterraba/types.ha
index 54303155413e6b2e7bd289c5d76c1b526576b67f..df870627ea60f958fa8afd30611fa6ce615ddf53 100644
--- a/beterraba/types.ha
+++ b/beterraba/types.ha
@@ -31,7 +31,7 @@ 	process: exec::process
 };
 
 // Maps a [[service]] status into a friendly message
-export fn strstatus(s: status) const (str | void) = {
+export fn strstatus(s: status) const str = {
 	switch (s) {
 	case status::STARTED =>
 		return "Started";
@@ -41,7 +41,5 @@ 	case status::STOPPED =>
 		return "Stopped";
 	case =>
 		return "Unknown value";
-	case =>
-		void;
 	};
 };