remove unreachable assert(false) since some compilers might warn about it - relates to #541

Fri, 10 Jan 2025 23:16:36 +0100

author
Mike Becker <universe@uap-core.de>
date
Fri, 10 Jan 2025 23:16:36 +0100
changeset 1120
608bdcc8f9ad
parent 1119
ff4d7e76f85a
child 1121
7fd2672199d7

remove unreachable assert(false) since some compilers might warn about it - relates to #541

src/properties.c file | annotate | diff | comparison | revisions
--- a/src/properties.c	Fri Jan 10 23:11:08 2025 +0100
+++ b/src/properties.c	Fri Jan 10 23:16:36 2025 +0100
@@ -226,8 +226,6 @@
                 return CX_PROPERTIES_INVALID_EMPTY_KEY;
             }
         }
-        // unreachable - either we returned or skipped a blank line
-        assert(false);
     }
 
     // when we come to this point, all data must have been read

mercurial