Skip to content

Commit 3ef2f99

Browse files
author
Gonzalo Diaz
committed
[REFACTOR] [Hacker Rank] Warmup: Time Conversion solved ✅. Triying to fix sonarlint detected issues.
1 parent a37913e commit 3ef2f99

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/lib/exercises/src/hackerrank/warmup/time_conversion.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@ char *HACKERRANK_WARMUP_getStringFragment(const char *s, unsigned long len,
4040
}
4141

4242
char *HACKERRANK_WARMUP_timeConversion(const char *s) {
43-
// char *meridian = HACKERRANK_WARMUP_lastN(s, 2);
4443
char *meridian = HACKERRANK_WARMUP_getLast(s, 2);
45-
46-
// char *hour_str = HACKERRANK_WARMUP_firstN(s, 2);
4744
char *hour_str = HACKERRANK_WARMUP_getFirst(s, 2);
4845

4946
char *time_str = (char *)malloc((strlen(s) + 1) * sizeof(char));

0 commit comments

Comments
 (0)