From 889ed19c1c8c56e0d888876ed0b011275eafcaf8 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sun, 26 Aug 2012 09:31:43 -0700 Subject: Compiler warnings. --- src/base/cmd/cmdHist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/base/cmd/cmdHist.c') diff --git a/src/base/cmd/cmdHist.c b/src/base/cmd/cmdHist.c index 29a51452..4aa8105b 100644 --- a/src/base/cmd/cmdHist.c +++ b/src/base/cmd/cmdHist.c @@ -60,7 +60,7 @@ void Cmd_HistoryAddCommand( Abc_Frame_t * p, const char * command ) strncmp(Buffer,"source",6) && strncmp(Buffer,"history",7) && strncmp(Buffer,"hi ", 3) && strcmp(Buffer,"hi") ) { - char * pStr; + char * pStr = NULL; int i, Start = Abc_MaxInt( 0, Vec_PtrSize(p->aHistory) - nLastLooked ); // do not enter if the same command appears among nLastLooked commands Vec_PtrForEachEntryStart( char *, p->aHistory, pStr, i, Start ) -- cgit v1.2.3