summaryrefslogtreecommitdiffstats
path: root/tools/editor/plugins/shader_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-07-06 19:04:21 +0200
committerRémi Verschelde <rverschelde@gmail.com>2016-07-07 23:15:59 +0200
commit3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33 (patch)
treea9ab363b5d34a3e314883618c6f34d5368ca79a8 /tools/editor/plugins/shader_editor_plugin.cpp
parentb6ac91c0e6416eda0dec226c5dbe5716f293e4f6 (diff)
downloadredot-engine-3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.tar.gz
Removed unused variables (second pass) + dead code
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
Diffstat (limited to 'tools/editor/plugins/shader_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/shader_editor_plugin.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/editor/plugins/shader_editor_plugin.cpp b/tools/editor/plugins/shader_editor_plugin.cpp
index 0086f76b9c..864df42b6e 100644
--- a/tools/editor/plugins/shader_editor_plugin.cpp
+++ b/tools/editor/plugins/shader_editor_plugin.cpp
@@ -118,9 +118,10 @@ void ShaderTextEditor::_load_theme_settings() {
get_text_edit()->add_color_region("/*","*/",comment_color,false);
get_text_edit()->add_color_region("//","",comment_color,false);
- //colorize strings
+
+ /*//colorize strings
Color string_color = EDITOR_DEF("text_editor/string_color",Color::hex(0x6b6f00ff));
- /*
+
List<String> strings;
shader->get_shader_mode()->get_string_delimiters(&strings);