From: Josh G. <ja...@us...> - 2004-05-11 01:05:12
|
Update of /cvsroot/gift/giFT/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21697 Modified Files: file.c Log Message: slight simplification of file_expand_path Index: file.c =================================================================== RCS file: /cvsroot/gift/giFT/lib/file.c,v retrieving revision 1.47 retrieving revision 1.48 diff -u -d -r1.47 -r1.48 --- file.c 11 May 2004 01:02:30 -0000 1.47 +++ file.c 11 May 2004 01:05:01 -0000 1.48 @@ -199,10 +199,7 @@ string_append (&pstr, path); else { - size_t beftilde; - - beftilde = aftertilde - path; - assert (beftilde >= 0); + size_t beftilde = aftertilde - path; if (beftilde > 0) string_appendf (&pstr, "%.*s", beftilde, path); |