diff --git a/ChangeLog b/ChangeLog
index d27f29a5dc0a9bc5c3822b0e8f4a12c17de5e35f..6dea6e2eee1269d0c2d54aa654d411d53cfd1300 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 	* src/text.c: Fix compilation with --enable-tiny --enable-justify.
 	* doc/man/{nano.1,rnano.1,nanorc.5}, doc/texinfo/nano.texi:
 	Update date and version number to match the upcoming release.
+	* src/files.c, src/winio.c: Avoid two compilation warnings.
 
 2015-12-04  Benno Schulenberg  <bensberg@justemail.net>
 	* src/proto.h: Avoid a compilation warning.
diff --git a/src/files.c b/src/files.c
index c4d5b93008d2e83f8b744f834addc4c82fa22049..0f07f173170df2b2c148d19cf88f58ddf3aa2955 100644
--- a/src/files.c
+++ b/src/files.c
@@ -1100,8 +1100,9 @@ void do_insertfile(
 	    break;
 	} else {
 	    size_t pww_save = openfile->placewewant;
+#if !defined(NANO_TINY) || !defined(DISABLE_BROWSER)
 	    functionptrtype func = func_from_key(&i);
-
+#endif
 	    ans = mallocstrcpy(ans, answer);
 
 #ifndef NANO_TINY
diff --git a/src/winio.c b/src/winio.c
index 370441e4ea5d56f9f3fb119bbec8ce088fa70439..42543b7972aa934336ded893c5ce478d16a81982 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -43,7 +43,9 @@ static bool disable_cursorpos = FALSE;
 static bool seen_wide = FALSE;
 	/* Whether we've seen a multicolumn character in the current line. */
 
+#ifndef NANO_TINY
 static sig_atomic_t sigwinch_counter_save = 0;
+#endif
 
 /* Control character compatibility:
  *