* libc/time/gmtime_r.c (gmtime_r): Remove dead code.
This commit is contained in:
		| @@ -1,3 +1,7 @@ | ||||
| 2014-10-20  Freddie Chopin  <freddie_chopin@op.pl> | ||||
|  | ||||
| 	* libc/time/gmtime_r.c (gmtime_r): Remove dead code. | ||||
|  | ||||
| 2014-10-16  Sebastian Huber  <sebastian.huber@embedded-brains.de> | ||||
|  | ||||
| 	* libc/unix/getcwd.c (getcwd): Close directory also in case of an error. | ||||
|   | ||||
| @@ -47,11 +47,6 @@ _DEFUN (gmtime_r, (tim_p, res), | ||||
|       rem += SECSPERDAY; | ||||
|       --days; | ||||
|     } | ||||
|   while (rem >= SECSPERDAY) | ||||
|     { | ||||
|       rem -= SECSPERDAY; | ||||
|       ++days; | ||||
|     } | ||||
|  | ||||
|   /* compute hour, min, and sec */ | ||||
|   res->tm_hour = (int) (rem / SECSPERHOUR); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user