]> git.wh0rd.org Git - nano.git/commitdiff
miscellaneous minor fix
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Tue, 20 Sep 2005 17:52:52 +0000 (17:52 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Tue, 20 Sep 2005 17:52:52 +0000 (17:52 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3025 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/text.c

index 173e09358b1d2a3ed82f7f236cb1061a78370fbb..0fc43d403c3301a0d9d2445cde217ff244499a23 100644 (file)
@@ -598,7 +598,7 @@ ssize_t break_line(const char *line, ssize_t goal, bool newline)
     if (blank_loc == -1) {
        /* No blank was found that was short enough. */
        bool found_blank = FALSE;
-       ssize_t found_blank_loc;
+       ssize_t found_blank_loc = 0;
 
        while (*line != '\0') {
            line_len = parse_mbchar(line, NULL, NULL);