[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdenonbeta/krecipes/src/widgets
From:       "Aaron J. Seigo" <aseigo () olympusproject ! org>
Date:       2004-01-06 1:52:49
Message-ID: 200401051853.09454.aseigo () olympusproject ! org
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 05 January 2004 06:33, Jason Kivlighn wrote:
> +        if ( icon ) delete icon;

this is a bit redundant as delete is 0-safe, which is to say that if you try 
and delete icon and icon == 0, it's a no-op. so you can safely get rid of all 
the "if (icon)" stuff.

- -- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43
while (!horse()); cart();
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/+hUE1rcusafx20MRAlP7AJsFHBHwup1W9NRk6PiNrgpv2YEADACglnYD
QULalxr8cS7jZDzdFPEcXcA=
=pa/q
-----END PGP SIGNATURE-----
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic