Re: [PATCH] Drop needless variable

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

 



On Tue, May 05, 2020 at 10:46:28AM +0200, Erik Skultety wrote:
> On Mon, May 04, 2020 at 05:13:08PM +0200, Michal Privoznik wrote:
> > Instead of the following pattern:
> > 
> >   type ret;
> >   ...
> >   ret = func();
> >   return ret;
> > 
> > we can use:
> > 
> >   return func()
> > 
> > directly.
> > 
> > Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> > ---
> Reviewed-by: Erik Skultety <eskultet@xxxxxxxxxx>

Also, SFF

-- 
Erik Skultety





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux