mirror of
https://github.com/davatorium/rofi.git
synced 2025-07-31 21:59:25 -04:00
Fix compiler warnings in window mode.
This commit is contained in:
parent
2bbaa36b7a
commit
43790b3eda
1 changed files with 6 additions and 6 deletions
|
@ -161,7 +161,7 @@ winlist *cache_client = NULL;
|
|||
*
|
||||
* @returns A new window list.
|
||||
*/
|
||||
static winlist *winlist_new() {
|
||||
static winlist *winlist_new(void) {
|
||||
winlist *l = g_malloc(sizeof(winlist));
|
||||
l->len = 0;
|
||||
l->array = g_malloc_n(WINLIST + 1, sizeof(xcb_window_t));
|
||||
|
@ -470,7 +470,7 @@ static int window_match(const Mode *sw, rofi_int_matcher **tokens,
|
|||
return match;
|
||||
}
|
||||
|
||||
static void window_mode_parse_fields() {
|
||||
static void window_mode_parse_fields(void) {
|
||||
window_matching_fields_parsed = TRUE;
|
||||
char *savept = NULL;
|
||||
// Make a copy, as strtok will modify it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue