1
0
forked from drath/libratbag

Fix compiler warnings

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2015-08-27 12:25:25 +10:00
parent ba3330894f
commit be58d91c63
2 changed files with 4 additions and 4 deletions

View File

@@ -554,7 +554,6 @@ ratbag_create_profile(struct ratbag_device *device,
unsigned int num_buttons)
{
struct ratbag_profile *profile;
unsigned int i;
profile = zalloc(sizeof(*profile));
if (!profile)