You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Germán Blanco (JIRA)" <ji...@apache.org> on 2013/11/23 08:00:37 UTC
[jira] [Updated] (ZOOKEEPER-1821) very ugly warning when compiling
load_gen.c
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Germán Blanco updated ZOOKEEPER-1821:
-------------------------------------
Affects Version/s: 3.5.0
> very ugly warning when compiling load_gen.c
> -------------------------------------------
>
> Key: ZOOKEEPER-1821
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1821
> Project: ZooKeeper
> Issue Type: Bug
> Components: c client
> Affects Versions: 3.4.6, 3.5.0
> Environment: macos
> Reporter: Germán Blanco
> Fix For: 3.4.6, 3.5.0
>
>
> this is the compiler output:
> 3.4/src/c/src/load_gen.c:110:1: warning: control may reach end of non-void function [-Wreturn-type]
> [exec] }
> [exec] ^
> 3.4/src/c/src/load_gen.c:135:1: warning: control may reach end of non-void function [-Wreturn-type]
> [exec] }
> [exec] ^
> 3.4/src/c/src/load_gen.c:163:1: warning: control may reach end of non-void function [-Wreturn-type]
> [exec] }
> [exec] ^
> 3.4/src/c/src/load_gen.c:180:1: warning: control may reach end of non-void function [-Wreturn-type]
> [exec] }
> [exec] ^
> i think that the code is missing a "return ZOK" in the end of these functions.
--
This message was sent by Atlassian JIRA
(v6.1#6144)