Fix uninitialized variable warning

This commit is contained in:
Mario Hüttel 2019-08-22 19:37:26 +02:00
parent c908a8be47
commit b6bf0c30bf

View File

@ -423,6 +423,10 @@ static void on_convert_clicked(gpointer button, gpointer user)
case RENDERER_CAIROGRAPHICS_PDF: case RENDERER_CAIROGRAPHICS_PDF:
render_engine = GDS_RENDER_OUTPUT_RENDERER(cairo_renderer_new_pdf()); render_engine = GDS_RENDER_OUTPUT_RENDERER(cairo_renderer_new_pdf());
break; break;
default:
/* Abort rendering */
render_engine = NULL;
break;
} }
if (render_engine) { if (render_engine) {