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
882c034c
Commit
882c034c
authored
Nov 02, 2016
by
Ulrich Sibiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xtrans: silence compiler warning regarding is_numeric
is_numeric is only needed if X11_t is defined. Silences "warning: ‘is_numeric’ defined but not used [-Wunused-function]"
parent
90612d25
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Xtransint.h
nx-X11/lib/xtrans/Xtransint.h
+2
-1
Xtransutil.c
nx-X11/lib/xtrans/Xtransutil.c
+2
-0
No files found.
nx-X11/lib/xtrans/Xtransint.h
View file @
882c034c
...
...
@@ -351,10 +351,11 @@ static int TRANS(WriteV)(
#endif
/* WIN32 */
#if defined(X11_t)
static
int
is_numeric
(
const
char
*
/* str */
);
#endif
#ifdef TRANS_SERVER
static
int
trans_mkdir
(
...
...
nx-X11/lib/xtrans/Xtransutil.c
View file @
882c034c
...
...
@@ -434,6 +434,7 @@ TRANS(WSAStartup) (void)
#include <ctype.h>
#if defined(X11_t)
static
int
is_numeric
(
const
char
*
str
)
{
...
...
@@ -445,6 +446,7 @@ is_numeric (const char *str)
return
(
1
);
}
#endif
#ifdef TRANS_SERVER
#include <sys/types.h>
...
...
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