Re: [PATCH] Teach 'git-apply --whitespace=strip' to remove empty lines at the end of file
On Sun, May 20, 2007 at 08:56:49PM +0200, Marco Costalba wrote:
Show 17 quoted lines
> On 5/20/07, Junio C Hamano <junkio@cox.net> wrote:
> >> if (offset >= 0) {
> >> +
> >> + if (desc->size - oldsize - offset == 0) /* end of
> >file? */
> >> + newsize -= trailing_added_lines;
> >> +
> >> int diff = newsize - oldsize;
> >> unsigned long size = desc->size + diff;
> >> unsigned long alloc = desc->alloc;
> >
> >But we have kept our sources -Wdeclaration-after-statement
> >clean so far
>
> ??????
>
> Wie bitte?man gcc:
-Wdeclaration-after-statement (C only)
Warn when a declaration is found after a statement in a block.
Gruesse,
--
Frank Lichtenheld <frank@lichtenheld.de>
www: http://www.djpig.de/