Commit 2ed524f0 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

When adding the return -1 to prevent warnings on some compilers, others

started complaining since it won't be reached... So I removed the call to
abort() and just return -1 instead. abort() was wrong to call anyway since
this is a library!
parent 5f1eefd0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -722,7 +722,7 @@ ToHour (int Hours, MERIDIAN Meridian)
	Hours = 0;
      return Hours + 12;
    default:
      abort ();
      break; /* used to do abort() here */
    }
  /* NOTREACHED - but make gcc happy! */
  return -1;