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
e7cf23ba
Commit
e7cf23ba
authored
Jan 07, 2020
by
Ulrich Sibiller
Committed by
Mike Gabriel
May 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Atoms.c: remove unused return value of nxagentInitAtomsMap
parent
6136c49a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Atoms.c
nx-X11/programs/Xserver/hw/nxagent/Atoms.c
+4
-4
No files found.
nx-X11/programs/Xserver/hw/nxagent/Atoms.c
View file @
e7cf23ba
...
@@ -63,7 +63,7 @@ Bool nxagentWMIsRunning;
...
@@ -63,7 +63,7 @@ Bool nxagentWMIsRunning;
static
void
startWMDetection
(
void
);
static
void
startWMDetection
(
void
);
static
int
nxagentInitAtomMap
(
char
**
atomNameList
,
int
count
,
Atom
*
atomsRet
);
static
void
nxagentInitAtomMap
(
char
**
atomNameList
,
int
count
,
Atom
*
atomsRet
);
#ifdef DEBUG
#ifdef DEBUG
static
void
nxagentPrintAtomMapInfo
(
char
*
message
);
static
void
nxagentPrintAtomMapInfo
(
char
*
message
);
...
@@ -442,7 +442,7 @@ void nxagentResetAtomMap(void)
...
@@ -442,7 +442,7 @@ void nxagentResetAtomMap(void)
* Initializing the atomNameList all in one.
* Initializing the atomNameList all in one.
*/
*/
static
int
nxagentInitAtomMap
(
char
**
atomNameList
,
int
count
,
Atom
*
atomsRet
)
static
void
nxagentInitAtomMap
(
char
**
atomNameList
,
int
count
,
Atom
*
atomsRet
)
{
{
unsigned
int
i
;
unsigned
int
i
;
int
list_size
=
count
+
privLastAtom
;
int
list_size
=
count
+
privLastAtom
;
...
@@ -487,7 +487,7 @@ static int nxagentInitAtomMap(char **atomNameList, int count, Atom *atomsRet)
...
@@ -487,7 +487,7 @@ static int nxagentInitAtomMap(char **atomNameList, int count, Atom *atomsRet)
SAFE_free
(
atom_list
);
SAFE_free
(
atom_list
);
SAFE_free
(
name_list
);
SAFE_free
(
name_list
);
return
0
;
return
;
}
}
for
(
i
=
0
;
i
<
list_size
;
i
++
)
for
(
i
=
0
;
i
<
list_size
;
i
++
)
...
@@ -530,7 +530,7 @@ static int nxagentInitAtomMap(char **atomNameList, int count, Atom *atomsRet)
...
@@ -530,7 +530,7 @@ static int nxagentInitAtomMap(char **atomNameList, int count, Atom *atomsRet)
nxagentPrintAtomMapInfo
(
"nxagentInitAtomMap: Exiting"
);
nxagentPrintAtomMapInfo
(
"nxagentInitAtomMap: Exiting"
);
return
1
;
return
;
}
}
/*
/*
...
...
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