[pygobject] pyglib: Fix a compiler warning
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] pyglib: Fix a compiler warning
- Date: Thu, 19 Aug 2010 21:49:34 +0000 (UTC)
commit d45c7031876f355e15409f00f3e50e77d18f8f4b
Author: Colin Walters <walters verbum org>
Date: Thu Aug 19 17:50:35 2010 -0400
pyglib: Fix a compiler warning
glib/pyglib.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/glib/pyglib.c b/glib/pyglib.c
index 76eb549..07db579 100644
--- a/glib/pyglib.c
+++ b/glib/pyglib.c
@@ -590,6 +590,7 @@ _pyglib_generic_ptr_richcompare(void* a, void *b, int op)
break;
case Py_LT:
+ res = (a < b) ? Py_True : Py_False;
break;
case Py_LE:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]