We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abda2b8 commit 110ccb5Copy full SHA for 110ccb5
1 file changed
src/minunit.c
@@ -146,6 +146,7 @@ static const char *test_settings()
146
t_fans* fan2 = (t_fans *)malloc(sizeof(t_fans));
147
fan2->fan_id = 2;
148
fan2->fan_max_speed = -1;
149
+ fan2->next = NULL;
150
fan->next = fan2;
151
152
retrieve_settings("./mbpfan.conf.test2", fan);
@@ -194,6 +195,7 @@ static const char *test_settings_reload()
194
195
{
196
t_fans* fan = (t_fans *) malloc( sizeof( t_fans ) );
197
fan->fan_id = 1;
198
+ fan->fan_min_speed = -1;
199
fan->next = NULL;
200
201
signal(SIGHUP, handler);
0 commit comments