projects
/
platform
/
upstream
/
ibus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27a66ea
)
Fix build warnings with gcc 4.6
author
Peng Huang
<shawn.p.huang@gmail.com>
Wed, 11 May 2011 01:59:15 +0000
(21:59 -0400)
committer
Peng Huang
<shawn.p.huang@gmail.com>
Wed, 11 May 2011 01:59:15 +0000
(21:59 -0400)
BUG=crosbug.com/15039
TEST=Linux desktop
Review URL: http://codereview.appspot.com/
4518042
src/ibusshare.c
patch
|
blob
|
history
diff --git
a/src/ibusshare.c
b/src/ibusshare.c
index 2c0b020be37dc9416e20e2182002ac9e76028f0c..1b8ae2a06114b43dbe434df6a115fb1258fb4d26 100644
(file)
--- a/
src/ibusshare.c
+++ b/
src/ibusshare.c
@@
-143,7
+143,7
@@
ibus_get_socket_path (void)
gchar *hostname = "unix";
gchar *display;
gchar *displaynumber = "0";
- gchar *screennumber = "0";
+ /* gchar *screennumber = "0"; */
gchar *p;
if (_display == NULL) {
@@
-172,7
+172,8
@@
ibus_get_socket_path (void)
if (*p == '.') {
*p = '\0';
p++;
- screennumber = p;
+ /* Do not use screennumber
+ screennumber = p; */
}
}