Should return a value but already returns a value?!
#2

Indent properly. Your return is actually outside your function. Frankly I don't understand how this doesn't crash the compiler.
Reply


Messages In This Thread
Should return a value but already returns a value?! - by grymtn - 03.08.2017, 16:52
Re: Should return a value but already returns a value?! - by Vince - 03.08.2017, 17:04
Re: Should return a value but already returns a value?! - by grymtn - 03.08.2017, 17:17

Forum Jump:


Users browsing this thread: 1 Guest(s)