Skip to content

Commit

Permalink
Remove commented-out code
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasMertes committed Jan 17, 2024
1 parent a650673 commit 461ff28
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/strlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,6 @@ objectType str_create (listType arguments)
dest->value.striValue = take_stri(source);
source->value.striValue = NULL;
} else {
/* printf("str_create %d !!!\n", in_file.line); */
new_size = take_stri(source)->size;
if (unlikely(!ALLOC_STRI_SIZE_OK(new_str, new_size))) {
dest->value.striValue = NULL;
Expand Down
2 changes: 0 additions & 2 deletions src/tim_win.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,6 @@ struct tm *alternate_localtime_r (time_t *utc_seconds, struct tm *tm_result)
logFunction(printf("alternate_localtime_r(%ld)\n", *utc_seconds););
if (time_zone_seconds == 1) {
utc_time.nanosecs100 = (uint64Type) SECONDS_FROM_1601_TO_1970 * WINDOWS_TICK;
/* FileTimeToLocalFileTime(&utc_time.filetime, &time_zone_delta.filetime);
time_zone_seconds = time_zone_delta.nanosecs100 / WINDOWS_TICK - SECONDS_FROM_1601_TO_1970; */
if (unlikely(FileTimeToSystemTime(&utc_time.filetime, &utc_time_struct) == 0)) {
return NULL;
} else if (unlikely(SystemTimeToTzSpecificLocalTime(
Expand Down

0 comments on commit 461ff28

Please sign in to comment.