mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
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:
parent
5f1eefd03f
commit
2ed524f07e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user