Giel van Schijndel ecf1c79aad fix warnings: expression result unused [-Wunused-value]
In the assert()s take advantage of the fact that string constants
("string") are effectively of type 'const char []', which when used in
an expression yield a non-NULL pointer.

An assertion that should always fail can thus be formulated as:
  assert(!"fail);

An assertion where a text message should be added to the expression can
be written as such:
  assert("message" && expression);

Signed-off-by: Giel van Schijndel <me@mortis.eu>
2011-07-13 05:07:44 +02:00
..
2011-06-27 14:12:48 -04:00
2011-06-27 14:12:48 -04:00
2011-06-06 12:49:11 -05:00
2011-06-06 12:49:11 -05:00
2011-07-13 02:11:25 +02:00
2011-07-13 02:11:25 +02:00
2011-06-15 11:05:55 +02:00
2011-06-15 11:05:55 +02:00
2011-05-15 12:04:20 +02:00
2011-07-13 02:11:25 +02:00
2011-07-13 02:11:25 +02:00
2011-07-13 02:11:25 +02:00
2011-06-15 11:05:55 +02:00
2011-07-13 02:11:25 +02:00