Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xserver
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alexander Volkov
xserver
Commits
3f87aeef
Commit
3f87aeef
authored
Apr 03, 2006
by
Adam Jackson
💣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Coverity #82: Dead variable elimination.
parent
61926dbe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
ChangeLog
ChangeLog
+5
-0
os/xdmauth.c
os/xdmauth.c
+2
-6
No files found.
ChangeLog
View file @
3f87aeef
2006-04-02 Adam Jackson <ajax@freedesktop.org>
* os/xdmauth.c:
Coverity #82: Dead variable elimination.
2006-04-02 Adam Jackson <ajax@freedesktop.org>
* GL/glx/glxcmdsswap.c:
...
...
os/xdmauth.c
View file @
3f87aeef
...
...
@@ -463,10 +463,9 @@ XdmFromID (XID id, unsigned short *data_lenp, char **datap)
int
XdmRemoveCookie
(
unsigned
short
data_length
,
char
*
data
)
{
XdmAuthorizationPtr
auth
,
prev
;
XdmAuthorizationPtr
auth
;
XdmAuthKeyPtr
key_bits
,
rho_bits
;
prev
=
0
;
switch
(
data_length
)
{
case
16
:
...
...
@@ -486,10 +485,7 @@ XdmRemoveCookie (unsigned short data_length, char *data)
if
(
XdmcpCompareKeys
(
rho_bits
,
&
auth
->
rho
)
&&
XdmcpCompareKeys
(
key_bits
,
&
auth
->
key
))
{
if
(
prev
)
prev
->
next
=
auth
->
next
;
else
xdmAuth
=
auth
->
next
;
xdmAuth
=
auth
->
next
;
xfree
(
auth
);
return
1
;
}
...
...
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