Mercurial > hg > octave-nkf > gnulib-hg
changeset 11918:904a452f5701
canonicalize: remove useless initialization
* lib/canonicalize.c (canonicalize_filename_mode): Remove useless
initialization of local, "end".
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Mon, 31 Aug 2009 16:32:40 +0200 |
parents | afaea9930971 |
children | 6a1268d2cf2a |
files | ChangeLog lib/canonicalize.c |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-08-31 Jim Meyering <meyering@redhat.com> + + canonicalize: remove useless initialization + * lib/canonicalize.c (canonicalize_filename_mode): Remove useless + initialization of local, "end". + 2009-08-30 Bruno Haible <bruno@clisp.org> Fix an unnecessary error on Solaris 10 on NFSv3 file systems.
--- a/lib/canonicalize.c +++ b/lib/canonicalize.c @@ -1,5 +1,5 @@ /* Return the canonical absolute name of a given file. - Copyright (C) 1996-2008 Free Software Foundation, Inc. + Copyright (C) 1996-2009 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -199,7 +199,7 @@ dest = rname + 1; } - for (start = end = name; *start; start = end) + for (start = name; *start; start = end) { /* Skip sequence of multiple file name separators. */ while (*start == '/')