Permalink
Browse files

- silence the compiler

  • Loading branch information...
1 parent 416ef6d commit bb710beccbad1fae6d8288cd29f17a36b3d47e55 @jconway committed Oct 4, 2010
Showing with 4 additions and 1 deletion.
  1. +4 −1 plr.c
View
5 plr.c
@@ -278,6 +278,7 @@ PLR_CLEANUP
{
char *buf;
char *tmpdir = getenv("R_SESSION_TMPDIR");
+ int ret;
R_dot_Last();
R_RunExitFinalizers();
@@ -292,7 +293,9 @@ PLR_CLEANUP
*/
buf = (char *) palloc(9 + 1 + strlen(tmpdir));
sprintf(buf, "rm -rf \"%s\"", tmpdir);
- system(buf);
+
+ /* ignoring return value, but silence the compiler */
+ ret = system(buf);
}
}

0 comments on commit bb710be

Please sign in to comment.