Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
50eb5e4a
Commit
50eb5e4a
authored
Oct 20, 2016
by
Ulrich Sibiller
Committed by
Ulrich Sibiller
Oct 20, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sendexev.c: Fix return of unitialized variable
Well, kinda fix. Upstream handles that differently here, we need a thorough check! Add another FIXME comment because of this.
parent
151e0b16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
sendexev.c
nx-X11/programs/Xserver/Xi/sendexev.c
+7
-3
No files found.
nx-X11/programs/Xserver/Xi/sendexev.c
View file @
50eb5e4a
...
...
@@ -149,10 +149,14 @@ ProcXSendExtensionEvent (client)
return
Success
;
}
// FIXME: ret is not initialized and should not be returned...
/*
the previous code here returned the unitialized variable ret,
so using Success we have defined returncode at least. FIXME:
Upstream works different here, we must check this!
*/
if
(
stuff
->
num_events
==
0
)
return
ret
;
/* return ret; */
return
Success
;
/* The client's event type must be one defined by an extension. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment