Cleanup: unused warning
authorCampbell Barton <ideasman42@gmail.com>
Mon, 18 Mar 2019 21:39:48 +0000 (08:39 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 18 Mar 2019 21:39:48 +0000 (08:39 +1100)
source/blender/draw/intern/draw_manager.c
source/blender/makesdna/intern/dna_rename_defs.h

index 4810598..d53d571 100644 (file)
@@ -1826,7 +1826,6 @@ void DRW_render_to_image(RenderEngine *engine, struct Depsgraph *depsgraph)
        ViewLayer *view_layer = DEG_get_evaluated_view_layer(depsgraph);
        RenderEngineType *engine_type = engine->type;
        DrawEngineType *draw_engine_type = engine_type->draw_engine;
-       RenderData *r = &scene->r;
        Render *render = engine->re;
 
        if (G.background && DST.gl_context == NULL) {
index e1fa1e2..3ae572f 100644 (file)
@@ -87,7 +87,3 @@ DNA_STRUCT_RENAME_ELEM(bTheme, tstatusbar, space_statusbar)
 DNA_STRUCT_RENAME_ELEM(bTheme, ttopbar, space_topbar)
 DNA_STRUCT_RENAME_ELEM(bTheme, tuserpref, space_preferences)
 DNA_STRUCT_RENAME_ELEM(bTheme, tv3d, space_view3d)
-
-#if 0
-DNA_STRUCT_RENAME(Light, Light)
-#endif