Re: goto???

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

 



On Fri, Jul 17, 2015 at 2:52 PM, Martin Knappe
<kohaerenzstifter@xxxxxxxxx> wrote:
> I'm just messing ...
> I guess I felt a bit challenged by your "try to write that without using
> goto"
Hey, it was not a challenge. main thing is the readability.
But going by your general rules how will you modify this
same function of dgap? I think I can get rid of multiple return
only if i modify the code into a series of if - else .
or anything simple?

regards
sudip

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux