aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main.c b/src/main.c
index 8337dc5..57898f4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -50,12 +50,6 @@ int justify(size_t linebuffer_capacity, FILE *in, FILE *out) {
while ((read_word_result = read_word(in, word, MAX_WORD_LENGTH + 1)) ==
READ_WORD_SUCCESS) {
- word_length = strlen(word);
- if (word_length == 0) {
- linebuffer_write(lb, out);
- linebuffer_destroy(lb);
- return EXIT_SUCCESS;
- }
if (!linebuffer_append_word(lb, word)) {
linebuffer_write_justified(lb, out);
linebuffer_clear(lb);