Re: Various small fixes to 4.6.2-pre1



On Thu, Nov 01, 2007 at 04:48:02PM +0100, Vladimir Nadvornik wrote:
> --- mc-4.6.2-pre1/vfs/smbfs.c
> -    result = g_strconcat (my_remote, trailing_asterik ? "/*" : "", 0);
> +    result = g_strconcat (my_remote, trailing_asterik ? "/*" : "", (char *) NULL);
>
the use of NULL is discouraged, at least in c++. it doesn't add value
anyway.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]