Fix build on 4.x

Reported by:	krismail
This commit is contained in:
Renato Botelho 2006-05-22 11:33:27 +00:00
parent fa153fb346
commit e7941206aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=163081

View file

@ -0,0 +1,16 @@
--- src/sh_extern.c.orig Fri Apr 7 20:07:53 2006
+++ src/sh_extern.c Mon May 22 08:18:29 2006
@@ -1067,9 +1067,11 @@
*/
int sh_ext_add_default (const char * dummy)
{
- (void) dummy;
- char * p = NULL;
+ char * p;
int i;
+ (void) dummy;
+
+ p = NULL;
SL_ENTER(_("sh_ext_add_default"));
if (dummy[0] == 'n' || dummy[0] == 'N' ||