Commit 1e83ef82 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix a stupid compilation warning

parent ddba9af9
......@@ -385,7 +385,6 @@ int loadPresetByFile(char * filename) {
int init_idle_preset() {
preset_t * preset;
int i;
/* Initialize idle preset struct */
if ((preset = (preset_t*)malloc(sizeof(preset_t))) == NULL)
......@@ -741,7 +740,6 @@ void reloadPerFrame(char * s, preset_t * preset) {
preset_t * load_preset(char * pathname) {
preset_t * preset;
int i;
/* Initialize preset struct */
if ((preset = (preset_t*)malloc(sizeof(preset_t))) == NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment