Skip to content

Commit 2cb4134

Browse files
committed
Minor tuned
1 parent c9bce52 commit 2cb4134

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

hpcopr/cluster_general_funcs.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2699,9 +2699,6 @@ int prompt_to_input(const char* prompt_string, char reply_string[], unsigned int
26992699
reply_string[i]=ch;
27002700
i++;
27012701
}
2702-
if(ch==EOF){
2703-
return -1; /* Abnormal */
2704-
}
27052702
reply_string[i]='\0';
27062703
if(i==reply_len_max-1&&ch!='\n'){
27072704
fflush_stdin(); /* If the maximum of reply string reached, flush the stdin. */

0 commit comments

Comments
 (0)