mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
Fix warnings by vandread.
svn path=/trunk/; revision=9502
This commit is contained in:
parent
5141945b57
commit
ac9cb4c5a6
1 changed files with 5 additions and 3 deletions
|
@ -88,7 +88,7 @@ Usage()
|
||||||
int
|
int
|
||||||
AnalyzeArgv(char *argument)
|
AnalyzeArgv(char *argument)
|
||||||
{
|
{
|
||||||
char element=0;
|
int element=0;
|
||||||
char HelpFlag=0;
|
char HelpFlag=0;
|
||||||
char *keys[]={"--help","/h","/?","-h"};
|
char *keys[]={"--help","/h","/?","-h"};
|
||||||
char *sections[]={".1",".2",".3",".4",".5",".6",".7",".8",".9"};
|
char *sections[]={".1",".2",".3",".4",".5",".6",".7",".8",".9"};
|
||||||
|
@ -123,7 +123,7 @@ int
|
||||||
AnalyzeFile()
|
AnalyzeFile()
|
||||||
{
|
{
|
||||||
char *cur_string=(char*)malloc(sizeof(char)*MAXLINE);
|
char *cur_string=(char*)malloc(sizeof(char)*MAXLINE);
|
||||||
char symbol=0;
|
int symbol=0;
|
||||||
char *THtag=(char*)malloc(sizeof(char)*MAXLINE);
|
char *THtag=(char*)malloc(sizeof(char)*MAXLINE);
|
||||||
|
|
||||||
|
|
||||||
|
@ -157,7 +157,7 @@ AnalyzeFile()
|
||||||
|
|
||||||
if(symbol) TagFlag=1;
|
if(symbol) TagFlag=1;
|
||||||
|
|
||||||
for(symbol;cur_string[symbol]!='\n'; symbol++)
|
for(;cur_string[symbol]!='\n'; symbol++)
|
||||||
putchar(cur_string[symbol]);
|
putchar(cur_string[symbol]);
|
||||||
putchar(' ');
|
putchar(' ');
|
||||||
}
|
}
|
||||||
|
@ -209,6 +209,7 @@ AnalyzeFile()
|
||||||
else text_outp(); // print plane text
|
else text_outp(); // print plane text
|
||||||
th_outp();
|
th_outp();
|
||||||
/* END of TAGs processing */
|
/* END of TAGs processing */
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -225,5 +226,6 @@ main(int argc, char *argv[])
|
||||||
|
|
||||||
if(OpenFlag)CloseF();
|
if(OpenFlag)CloseF();
|
||||||
SetCl(NORMAL);
|
SetCl(NORMAL);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue