# HG changeset patch # User Jim Meyering # Date 1251729160 -7200 # Node ID 904a452f57015a15853971be91489b5e539596cd # Parent afaea9930971f8ca6a804c809f9ba93e507a124e canonicalize: remove useless initialization * lib/canonicalize.c (canonicalize_filename_mode): Remove useless initialization of local, "end". diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-08-31 Jim Meyering + + canonicalize: remove useless initialization + * lib/canonicalize.c (canonicalize_filename_mode): Remove useless + initialization of local, "end". + 2009-08-30 Bruno Haible Fix an unnecessary error on Solaris 10 on NFSv3 file systems. diff --git a/lib/canonicalize.c b/lib/canonicalize.c --- 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 == '/')