From 5c5197d80d292fdfd044484ca13b1a113be35b4d Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Tue, 28 May 2024 10:35:47 +0200 Subject: [PATCH] string: remove dead code Signed-off-by: Simon Rozman --- include/stdex/string.hpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/stdex/string.hpp b/include/stdex/string.hpp index 391b2a1ac..44467469f 100644 --- a/include/stdex/string.hpp +++ b/include/stdex/string.hpp @@ -1160,9 +1160,6 @@ namespace stdex if (a > b) return +1; if (a < b) return -1; } - if (str1[i]) return +1; - if (str2[i]) return -1; - return 0; } ///