about summary refs log tree commit diff
path: root/lib/libpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpm.c')
-rw-r--r--lib/libpm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libpm.c b/lib/libpm.c
index 21fad88c..47a2f498 100644
--- a/lib/libpm.c
+++ b/lib/libpm.c
@@ -438,7 +438,8 @@ pm_maxvaltobits(int const maxval) {
         return 16;
     else
         pm_error( "maxval of %d is too large!", maxval );
-        return -1;  /* Should never come here */
+
+    assert(false);
 }
 
 int