Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
e4a72780
Commit
e4a72780
authored
Apr 05, 2018
by
Nils Goroll
Committed by
Dridi Boukelmoune
Jun 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flexelint 534: Ignoring return value of function
parent
ca9fda64
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
cache_main.c
bin/varnishd/cache/cache_main.c
+4
-4
No files found.
bin/varnishd/cache/cache_main.c
View file @
e4a72780
...
...
@@ -102,14 +102,14 @@ THR_SetName(const char *name)
AZ
(
pthread_setspecific
(
name_key
,
name
));
#if defined(HAVE_PTHREAD_SET_NAME_NP)
pthread_set_name_np
(
pthread_self
(),
name
);
(
void
)
pthread_set_name_np
(
pthread_self
(),
name
);
#elif defined(HAVE_PTHREAD_SETNAME_NP)
#if defined(__APPLE__)
pthread_setname_np
(
name
);
(
void
)
pthread_setname_np
(
name
);
#elif defined(__NetBSD__)
pthread_setname_np
(
pthread_self
(),
"%s"
,
(
char
*
)(
uintptr_t
)
name
);
(
void
)
pthread_setname_np
(
pthread_self
(),
"%s"
,
(
char
*
)(
uintptr_t
)
name
);
#else
pthread_setname_np
(
pthread_self
(),
name
);
(
void
)
pthread_setname_np
(
pthread_self
(),
name
);
#endif
#endif
}
...
...
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