* src/output.c (output_skeleton): tempdir is const.

bytes_read is unused.
This commit is contained in:
Akim Demaille
2002-03-04 14:17:30 +00:00
parent 345cea780a
commit d0039cbcf8
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2002-03-04 Akim Demaille <akim@epita.fr>
* src/output.c (output_skeleton): tempdir is const.
bytes_read is unused.
2002-03-04 Akim Demaille <akim@epita.fr>
* lib/bbitset.h, lib/bitset.c, lib/bitset.h, lib/bitsetv.c,

View File

@@ -958,10 +958,9 @@ static void
output_skeleton (void)
{
/* Store the definition of all the muscles. */
char *tempdir = getenv ("TMPDIR");
const char *tempdir = getenv ("TMPDIR");
char *tempfile = NULL;
FILE *out = NULL;
ssize_t bytes_read;
int fd;
if (tempdir == NULL)