cborstreamwriter: Fix developer-build with clang
Both functions are unused which results in a build error. Change-Id: If7e7a47cd62b91fbfc5bbf5330825bbb341a734b Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>bb10
parent
4054c0d6ed
commit
663d00c716
|
|
@ -72,7 +72,7 @@ static CborError _cbor_value_dup_string(const CborValue *, void **, size_t *, Cb
|
|||
Q_UNREACHABLE();
|
||||
return CborErrorInternalError;
|
||||
}
|
||||
static CborError cbor_value_get_half_float_as_float(const CborValue *, float *)
|
||||
static CborError Q_DECL_UNUSED cbor_value_get_half_float_as_float(const CborValue *, float *)
|
||||
{
|
||||
Q_UNREACHABLE();
|
||||
return CborErrorInternalError;
|
||||
|
|
|
|||
|
|
@ -63,13 +63,13 @@ QT_WARNING_POP
|
|||
|
||||
// silence compilers that complain about this being a static function declared
|
||||
// but never defined
|
||||
static CborError cbor_encoder_close_container_checked(CborEncoder*, const CborEncoder*)
|
||||
static CborError Q_DECL_UNUSED cbor_encoder_close_container_checked(CborEncoder*, const CborEncoder*)
|
||||
{
|
||||
Q_UNREACHABLE();
|
||||
return CborErrorInternalError;
|
||||
}
|
||||
|
||||
static CborError cbor_encode_float_as_half_float(CborEncoder *, float)
|
||||
static CborError Q_DECL_UNUSED cbor_encode_float_as_half_float(CborEncoder *, float)
|
||||
{
|
||||
Q_UNREACHABLE();
|
||||
return CborErrorInternalError;
|
||||
|
|
|
|||
Loading…
Reference in New Issue