aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2025-07-12 12:23:36 -0400
committerEugene Triguba <eugenetriguba@gmail.com>2025-07-12 12:23:36 -0400
commit009982c890f099e02026610970450efc0d666e1a (patch)
tree266baf9c203554c411b4ff921ecbe1b774d83e9a
parentRelease v0.1.1 (diff)
downloadcli-009982c890f099e02026610970450efc0d666e1a.zip
Remove unnecessary if statement
-rw-r--r--src/main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c
index 45f9133..9400b75 100644
--- a/src/main.c
+++ b/src/main.c
@@ -56,11 +56,6 @@ int justify(size_t linebuffer_capacity, FILE *in, FILE *out) {
linebuffer_destroy(lb);
return EXIT_SUCCESS;
}
- if (word_length > MAX_WORD_LENGTH) {
- // TODO: If the word is too long for a given line,
- // we should wrap it to the next line.
- word[MAX_WORD_LENGTH] = '*';
- }
if (!linebuffer_append_word(lb, word)) {
linebuffer_write_justified(lb, out);
linebuffer_clear(lb);