Fix uninitialized variable warning
This commit is contained in:
parent
c908a8be47
commit
b6bf0c30bf
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user