Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Commit [c2dcec] Maximize Restore History

Don't use G_LIKELY() in macros commonly used in g_return_if_fail()

g_return_if_fail() puts itself its condition in a G_LIKELY() clause,
and nested G_LIKELY() lead to warnings about shadowed variables, as
well as not being of any use.

Also, hiding G_LIKELY() in a macro may lead to unexpected use of it
which may hint the compiler incorrectly.

Colomban Wendling Colomban Wendling 2014-01-18

changed src
changed src/document.h
src
Directory.
src/document.h Diff Switch to side-by-side view
Loading...