diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2018-04-05 19:14:44 +0200 |
---|---|---|
committer | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2018-04-05 19:14:44 +0200 |
commit | a52b05bb3c81d15c775c2859477023cfda7cb545 (patch) | |
tree | 151eb9490f80445f37de996a55c421ce417de6b3 /atom_inspector_nk.c | |
parent | c0bca18d644d9583dc5f5974f968df72ad8560d1 (diff) | |
download | sherlock.lv2-a52b05bb3c81d15c775c2859477023cfda7cb545.tar.xz |
fix compiler warnings.
Diffstat (limited to 'atom_inspector_nk.c')
-rw-r--r-- | atom_inspector_nk.c | 3 |
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 |