Use static assert over runtime assert if possible
authorChristian Persch <chpe@gnome.org>
Sun, 7 Feb 2010 12:39:10 +0000 (13:39 +0100)
committerRyan Lortie <desrt@desrt.ca>
Mon, 15 Mar 2010 19:49:03 +0000 (15:49 -0400)
commit1953b4087f2852e43c0a4dd46bfbd6228135cf70
treeed415b280cf1a189089f6cf7cff998a243e8ffb7
parent24aeaebc48a5636c2f5391de646225d1e471f7ba
Use static assert over runtime assert if possible

We can test the these at compile time. Bug #609231.
glib/gmappedfile.c
glib/gvariant.c