Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment