aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/expressions.cpp2
-rw-r--r--src/search.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/expressions.cpp b/src/expressions.cpp
index f397b13..fc1e5e2 100644
--- a/src/expressions.cpp
+++ b/src/expressions.cpp
@@ -178,7 +178,7 @@ Expressions::calc(void)
break;
default:
/* shouldn't happen */
- g_assert(false);
+ g_assert_not_reached();
}
push(result);
diff --git a/src/search.cpp b/src/search.cpp
index 9519fb9..370dbfc 100644
--- a/src/search.cpp
+++ b/src/search.cpp
@@ -334,7 +334,7 @@ StateSearch::pattern2regexp(const gchar *&pattern,
default:
/* shouldn't happen */
- g_assert(false);
+ g_assert_not_reached();
}
next: