Re: rawhide report: 20050315 changes

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

 



On Tue, 2005-03-15 at 09:55 -0600, Brian Millett wrote:
> Had to make some cosmetic patches to get it to compile with gcc4 and I
> am sure they are "wrong" but it compiled.
> 
> [bpm]$ diff -wruN nm-netlink-monitor.c~ nm-netlink-monitor.c
> --- nm-netlink-monitor.c~       2005-03-14 23:30:14.000000000 -0600
> +++ nm-netlink-monitor.c        2005-03-15 09:39:23.000000000 -0600
> @@ -568,10 +568,10 @@
>                                   NmNetlinkMonitor *monitor)
>  {
>         GError *error;
> -       gchar *received_bytes;
> +       gchar *received_bytes="";
>         gboolean processing_is_done;
> -       gsize num_received_bytes;
> -       guint num_bytes_to_process;
> +       gsize num_received_bytes=0;
> +       guint num_bytes_to_process=0;
>         struct nlmsghdr *header;

Frankly, I don't see how this could fix the build.

May be it's being used -Werror in the gcc command line ?
-- 
Iago Rubio


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux