diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-01-07 20:59:45 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-05-07 12:55:04 +0200 |
commit | e7cf23ba747292192e5ee448d076784957ead4b0 (patch) | |
tree | 7176c1f5b5a5565604fb121374efee2dc81ee4c6 | |
parent | 6136c49a0c0fc2ac0234d6deddea74be21b07668 (diff) | |
download | nx-libs-e7cf23ba747292192e5ee448d076784957ead4b0.tar.gz nx-libs-e7cf23ba747292192e5ee448d076784957ead4b0.tar.bz2 nx-libs-e7cf23ba747292192e5ee448d076784957ead4b0.zip |
Atoms.c: remove unused return value of nxagentInitAtomsMap
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Atoms.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c index 761ab1b4f..7adcc1284 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c @@ -63,7 +63,7 @@ Bool nxagentWMIsRunning; static void startWMDetection(void); -static int nxagentInitAtomMap(char **atomNameList, int count, Atom *atomsRet); +static void nxagentInitAtomMap(char **atomNameList, int count, Atom *atomsRet); #ifdef DEBUG static void nxagentPrintAtomMapInfo(char *message); @@ -442,7 +442,7 @@ void nxagentResetAtomMap(void) * 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; int list_size = count + privLastAtom; @@ -487,7 +487,7 @@ static int nxagentInitAtomMap(char **atomNameList, int count, Atom *atomsRet) SAFE_free(atom_list); SAFE_free(name_list); - return 0; + return; } for (i = 0; i < list_size; i++) @@ -530,7 +530,7 @@ static int nxagentInitAtomMap(char **atomNameList, int count, Atom *atomsRet) nxagentPrintAtomMapInfo("nxagentInitAtomMap: Exiting"); - return 1; + return; } /* |