summaryrefslogtreecommitdiff
path: root/tools/d2c/conv/manager.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-10-26 09:55:56 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-10-26 09:55:56 (GMT)
commitd0547bc36bd6ccb84eff128fc6e4f2df034a705a (patch)
treeebe282cc57d35fab473e21dac02c9554abcfc081 /tools/d2c/conv/manager.c
parentd3039fda0302bb02a9df00425f8b06bce5185049 (diff)
Fixed warnings and errors from the compiler providing architectures support.
Diffstat (limited to 'tools/d2c/conv/manager.c')
-rw-r--r--tools/d2c/conv/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/d2c/conv/manager.c b/tools/d2c/conv/manager.c
index b76e0b7..8322866 100644
--- a/tools/d2c/conv/manager.c
+++ b/tools/d2c/conv/manager.c
@@ -515,7 +515,7 @@ bool define_conv_func(conv_func *func, int fd, const coding_bits *bits, const co
if (optional)
{
- if (as_raw)
+ if (as_raw && !func->used_as_op)
{
fprintf(stderr, "%s can not be optional and used as intermediate value at the same time!\n",
func->dest);