aboutsummaryrefslogtreecommitdiff
path: root/atom_inspector_nk.c
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2018-04-05 19:14:44 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2018-04-05 19:14:44 +0200
commita52b05bb3c81d15c775c2859477023cfda7cb545 (patch)
tree151eb9490f80445f37de996a55c421ce417de6b3 /atom_inspector_nk.c
parentc0bca18d644d9583dc5f5974f968df72ad8560d1 (diff)
downloadsherlock.lv2-a52b05bb3c81d15c775c2859477023cfda7cb545.tar.xz
fix compiler warnings.
Diffstat (limited to 'atom_inspector_nk.c')
-rw-r--r--atom_inspector_nk.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/atom_inspector_nk.c b/atom_inspector_nk.c
index c36844a..6f1e2be 100644
--- a/atom_inspector_nk.c
+++ b/atom_inspector_nk.c
@@ -232,8 +232,6 @@ _atom_inspector_expose(struct nk_context *ctx, struct nk_rect wbounds, void *dat
if(is_primitive)
{
- const struct nk_color col = nk_rgb(0xff, 0xff, 0xff);
-
nk_layout_row_push(ctx, 0.2);
if(body->type == handle->forge.Bool)
{
@@ -375,7 +373,6 @@ _atom_inspector_expose(struct nk_context *ctx, struct nk_rect wbounds, void *dat
}
const nk_flags flags = NK_EDIT_EDITOR;
- char *str = nk_str_get(&handle->editor.string);
int len = nk_str_len(&handle->editor.string);
if(len > 0) //FIXME