Commit e7cf23ba authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Atoms.c: remove unused return value of nxagentInitAtomsMap

parent 6136c49a
...@@ -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;
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment