diff options
author | David Tardon <dtardon@redhat.com> | 2011-10-11 10:12:49 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-10-11 10:12:49 +0200 |
commit | 9317cad2508d344e416a13768029b24800101a4d (patch) | |
tree | c2d612b82d4f4c3d7adfdfa41d8ca859f4a51939 /desktop/unx/source/pagein.c | |
parent | 01af504ba9b0b79fd0205d5dd81ddac2c1e0c1fd (diff) |
WaE: ISO C90 forbids mixed declarations and code
Diffstat (limited to 'desktop/unx/source/pagein.c')
-rwxr-xr-x | desktop/unx/source/pagein.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/unx/source/pagein.c b/desktop/unx/source/pagein.c index 90392b790881..1e3f34889474 100755 --- a/desktop/unx/source/pagein.c +++ b/desktop/unx/source/pagein.c @@ -108,8 +108,8 @@ int pagein_execute (int argc, char **argv) if ((argv[i][0] == '@') && ((fp = fopen (argv[i], "r")) == 0)) { char fullpath[4096]; + char *path = NULL; memset(fullpath, 0, sizeof(fullpath)); - char *path; strncpy (fullpath, argv[i] + 1, 3000); if (!(path = strrchr (fullpath, '/'))) path = fullpath; |