+2014-04-04 Benno Schulenberg <bensberg@justemail.net>
+ * src/{files.c,nano.c}: Avoid two more compilation warnings.
+
2014-04-03 Benno Schulenberg <bensberg@justemail.net>
* configure.ac: Remove unused '*_support' variables.
* doc/syntax/po.nanorc: New file, syntax colouring for PO files.
if (ISSET(MULTIBUFFER)) {
/* Update the screen to account for the current
* buffer. */
- ssize_t savedposline, savedposcol;
-
display_buffer();
+
#ifndef NANO_TINY
+ ssize_t savedposline, savedposcol;
if (!execute && ISSET(POS_HISTORY)
&& check_poshistory(answer, &savedposline, &savedposcol))
do_gotolinecolumn(savedposline, savedposcol, FALSE, FALSE, FALSE, FALSE);
* TRUE. */
void do_output(char *output, size_t output_len, bool allow_cntrls)
{
- size_t current_len, orig_lenpt, i = 0;
+ size_t current_len, orig_lenpt = 0, i = 0;
char *char_buf = charalloc(mb_cur_max());
int char_buf_len;