From e87c2e1da381cd631e1e98bbd4cb36836fc299d3 Mon Sep 17 00:00:00 2001 From: James Cherry Date: Fri, 21 Jun 2019 09:06:41 -0700 Subject: [PATCH] stringBeginEq --- util/StringUtil.hh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/util/StringUtil.hh b/util/StringUtil.hh index d98b33d8..1954c54f 100644 --- a/util/StringUtil.hh +++ b/util/StringUtil.hh @@ -50,14 +50,6 @@ stringEqIf(const char *str1, || (str1 && str2 && strcmp(str1, str2) == 0); } -// Case sensitive compare the beginning of str1 to str2. -inline bool -stringBeginEq(const char *str1, - const char *str2) -{ - return strncmp(str1, str2, strlen(str2)) == 0; -} - // Case insensitive compare the beginning of str1 to str2. inline bool stringBeginEqual(const char *str1,