Skip to content

Commit cefb4d5

Browse files
committed
Cleaning projects and added floquet
1 parent 91a6e57 commit cefb4d5

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/main/options_maker.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,12 @@ void options_maker(struct options_struct options[], int n_options)
2222
{
2323
int i_opt,i,j;
2424
int max_long_desc=20,non_used_short_opt[200],found;
25-
int max_long_string=150;
26-
2725

2826
for(i_opt=0;i_opt<n_options;i_opt++) {
2927
options[i_opt].long_opt=NULL;
3028
options[i_opt].short_opt=0;
3129
options[i_opt].short_desc=NULL;
32-
/* for(i=0;i<max_long_desc;i++) strcpy(options[i_opt].long_desc[i],"undef"); */
33-
for(i=0;i<max_long_desc;i++) options[i_opt].long_desc[i]=malloc( max_long_string );
30+
for(i=0;i<max_long_desc;i++) strcpy(options[i_opt].long_desc[i],"undef");
3431
options[i_opt].yambo_string="undef";
3532
options[i_opt].bin="all";
3633
options[i_opt].no_bin="none";

src/main/tool_init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ struct tool_struct tool_init( )
5555
#if defined _YPP_NL || defined _NL
5656
pj="nl";
5757
#endif
58-
#if defined _YPP_DF || defined _DF
59-
pj="df";
58+
#if defined _YPP_FL || defined _FL
59+
pj="fl";
6060
#endif
6161
#if defined _QED
6262
pj="qed";

0 commit comments

Comments
 (0)