remove unused var

This commit is contained in:
Doug MacEachern 2005-09-12 20:54:09 +00:00
parent ca68b62e7e
commit 77e652803d
1 changed files with 1 additions and 3 deletions

View File

@ -693,7 +693,7 @@ int sigar_proc_args_get(sigar_t *sigar, sigar_pid_t pid,
int fd, status; int fd, status;
char buffer[BUFSIZ]; char buffer[BUFSIZ];
char *argvb[56]; char *argvb[56];
char *arg, **argvp = argvb; char **argvp = argvb;
int n; int n;
size_t nread = 0; size_t nread = 0;
@ -727,8 +727,6 @@ int sigar_proc_args_get(sigar_t *sigar, sigar_pid_t pid,
(char **)malloc(sizeof(*(procargs->data)) * (char **)malloc(sizeof(*(procargs->data)) *
procargs->size); procargs->size);
arg = buffer;
for (n = 0; n < pinfo->pr_argc; n++) { for (n = 0; n < pinfo->pr_argc; n++) {
int alen; int alen;
char *arg; char *arg;