gfile: g_file_equal (x, x) is TRUE
authorBenjamin Otte <otte@redhat.com>
Sun, 12 Oct 2014 00:21:08 +0000 (02:21 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 21 Oct 2014 20:51:40 +0000 (22:51 +0200)
commit4125415e7f4d1213fc7122beac0d91af08e37b28
tree2170e8f9f99bece412e91c293ed2ede8a5263823
parentb768d0e4eaf15934067557cfee6b8beebca5df42
gfile: g_file_equal (x, x) is TRUE

So shortcut it.

I wrote this patch less as a performance optimization and more as a
clarification, so that people looking at the code can be assured of this
invariant.

https://bugzilla.gnome.org/show_bug.cgi?id=738374
gio/gfile.c