| |
@@ -1,13 +0,0 @@
|
| |
- diff --git a/test/mode-test.c b/test/mode-test.c
|
| |
- index 201f0b4a..3cc2ac72 100644
|
| |
- --- a/test/mode-test.c
|
| |
- +++ b/test/mode-test.c
|
| |
- @@ -135,7 +135,7 @@ END_TEST
|
| |
-
|
| |
- START_TEST(test_mode_result)
|
| |
- {
|
| |
- - char *res;
|
| |
- + const char *res = "";
|
| |
- ck_assert_int_eq ( mode_result ( &help_keys_mode, MENU_NEXT, &res,0), NEXT_DIALOG);
|
| |
- ck_assert_int_eq ( mode_result ( &help_keys_mode, MENU_PREVIOUS, &res,0), PREVIOUS_DIALOG);
|
| |
- ck_assert_int_eq ( mode_result ( &help_keys_mode, MENU_QUICK_SWITCH|1, &res,0), 1);
|
| |
Tested, works https://copr.fedorainfracloud.org/coprs/atim/rofi/
Patch is not necessary anymore, merged https://github.com/davatorium/rofi/pull/875