expr: avoid compiler warnings
authorJim Meyering <meyering@redhat.com>
Fri, 8 Aug 2008 08:06:54 +0000 (10:06 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 9 Aug 2008 14:56:01 +0000 (16:56 +0200)
commitc339cff4a6af0c83de0e32e6766258d35f0b9cb6
tree0c3e568662d86ae50eb22ad39061bff7ecdfe50c
parentae5ae5e117baa30d9ab33dafd51eb3900c28cea6
expr: avoid compiler warnings

* src/expr.c (die): New "noreturn" function to wrap one-arg use of
error
(string_too_long): Use die rather than error.
(toint): Remove definition of now-unused function.
(eval6): Remove a little duplication.
Use die rather than error.
(dodivide): Remove declaration of now-unused variable.
src/expr.c