GNOME Bugzilla – Bug 786213
tracker-extract: Turn a runtime warning into a compile-time failure
Last modified: 2017-08-13 20:15:42 UTC
Trivial patch attached.
Created attachment 357493 [details] [review] tracker-extract: Turn a runtime warning into a compile-time failure If we can’t work out the host byte order at compile time, all this code is doomed to failure anyway. Might as well explode at compilation time rather than runtime. Signed-off-by: Philip Withnall <withnall@endlessm.com>
Comment on attachment 357493 [details] [review] tracker-extract: Turn a runtime warning into a compile-time failure Makes complete sense, nothing good will happen indeed if we spuriously return 0 in those places.
Attachment 357493 [details] pushed as 7a02f59 - tracker-extract: Turn a runtime warning into a compile-time failure