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!
This commit is contained in:
Daniel Stenberg 2004-06-23 06:17:17 +00:00
parent 5f1eefd03f
commit 2ed524f07e
1 changed files with 1 additions and 1 deletions

View File

@ -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;