public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] ppc4xx: More cleanup for esd's LCD code
Date: Wed, 02 Jan 2008 11:21:28 +0100	[thread overview]
Message-ID: <20080102102128.6096A24755@gemini.denx.de> (raw)
In-Reply-To: Your message of "Wed, 02 Jan 2008 10:55:16 +0100." <200801021055.17023.matthias.fuchs@esd-electronics.com>

In message <200801021055.17023.matthias.fuchs@esd-electronics.com> you wrote:
>
> -	} else {
> +	} else
>  		/*
>  		 * Uncompressed BMP image, just use this pointer
>  		 */
>  		dst = (uchar *)logo_bmp;
> -	}

I object against this change. The "else" without curly braces is good
only if a simple one-liner is following.

Here you have 4 lines, and I definitely want to see braces here.


Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Yes, it's a technical challenge, and  you  have  to  kind  of  admire
people  who go to the lengths of actually implementing it, but at the
same time you wonder about their IQ...
         --  Linus Torvalds in <5phda5$ml6$1@palladium.transmeta.com>

  reply	other threads:[~2008-01-02 10:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-02  9:55 [U-Boot-Users] [PATCH] ppc4xx: More cleanup for esd's LCD code Matthias Fuchs
2008-01-02 10:21 ` Wolfgang Denk [this message]
2008-01-02 10:28   ` Stefan Roese
2008-01-02 11:01     ` Matthias Fuchs
  -- strict thread matches above, loose matches on Subject: below --
2008-01-02 11:05 Matthias Fuchs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080102102128.6096A24755@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox