Projects
home:pandora:RobinOS23
gpm
_service:download_src_package:0008-of-course-we...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_src_package:0008-of-course-we-can.-fixes-value-computed-is-unused-war.patch of Package gpm
From 8385b860a4288e9ebc25d42f62803f538dd9da10 Mon Sep 17 00:00:00 2001 From: nick black <nick.black@sprezzatech.com> Date: Fri, 8 Feb 2013 05:59:04 -0500 Subject: [PATCH 08/28] of course we can. fixes value-computed-is-unused warning --- src/daemon/old_main.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/daemon/old_main.c b/src/daemon/old_main.c index 9cd4e56..2581e26 100644 --- a/src/daemon/old_main.c +++ b/src/daemon/old_main.c @@ -192,10 +192,11 @@ int old_main() * or to the default handler, if any * or to the selection handler */ /* FIXME -- check event.vc */ - /* can't we please rewrite the following a bit nicer?*/ - (cinfo[event.vc] && do_client(cinfo[event.vc], &event)) - || (cinfo[0] && do_client(cinfo[0], &event)) - || do_selection(&event); + if(!cinfo[event.vc] || !do_client(cinfo[event.vc], &event)) { + if(!cinfo[0] || !do_client(cinfo[0],&event)) { + do_selection(&event); + } + } } } -- 2.19.1.6.gb485710b
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2