RE: method saying "no return statement" when there IS one

  • From: Alex Hall <mehgcap@xxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx, programmingblind@xxxxxxxxxxxxx;
  • Date: Sat, 23 Feb 2008 16:42:42 -0500

I just tried changing the method so I put an int into a variable I called "ok", then return ok. It now says that variable ok might not have been initialized. It was initialized at the start of the function, however, right along with my i and j counters and there is no problem with i or j. What am I doing wrong?????


Have a great day,
Alex
__________
View the list's information and change your settings at http://www.freelists.org/list/programmingblind

Other related posts: