projects
/
opensrf-equinox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
LP#1243841 - Quiet unused return value warning in srfsh.c
[opensrf-equinox.git]
/
src
/
srfsh
/
srfsh.c
diff --git
a/src/srfsh/srfsh.c
b/src/srfsh/srfsh.c
index
e3705a9
..
1887bac
100644
(file)
--- a/
src/srfsh/srfsh.c
+++ b/
src/srfsh/srfsh.c
@@
-383,7
+383,7
@@
static int process_request( const char* request ) {
else if ( request[0] == '!') {
if (!no_bang) {
- system( request + 1 );
+ (void) (system( request + 1 )+1);
ret_val = 1;
}
}