Re: [PATCH] tables/atsc_mgt: fix compile error due to missing return

Jean-Paul Saman <[email protected]> Thu, 24 May 2018 10:07:12 +0200
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Message-ID <CAK9US3CC15nFTBAUFMnD4+8erutTLhLFQ-U6aMuN9+pWdW08cA@mail.gmail.com>
--===============2610340636222711948==
Content-Type: multipart/alternative; boundary="000000000000936b5c056cef236e"

--000000000000936b5c056cef236e
Content-Type: text/plain; charset="UTF-8"

Fixed in commit: 311cd26e0014aa8b42d3ef1b82b595abcb45b58f

Thank you for contributing.

Gtz
Jean-Paul Saman

On Wed, May 23, 2018 at 9:37 PM, <[email protected]> wrote:

> From: Aman Gupta <[email protected]>
>
> Signed-off-by: Aman Gupta <[email protected]>
> ---
>  src/tables/atsc_mgt.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/tables/atsc_mgt.h b/src/tables/atsc_mgt.h
> index 225c215..184f8d4 100644
> --- a/src/tables/atsc_mgt.h
> +++ b/src/tables/atsc_mgt.h
> @@ -129,8 +129,8 @@ __attribute__((deprecated,unused))
>  inline bool dvbpsi_atsc_AttachMGT(dvbpsi_t *p_dvbpsi, uint8_t i_table_id,
>      uint16_t i_extension, dvbpsi_atsc_mgt_callback pf_callback, void*
> p_priv)
>  {
> -    dvbpsi_atsc_mgt_attach(p_dvbpsi, i_table_id, i_extension,
> -                           pf_callback, p_priv);
> +    return dvbpsi_atsc_mgt_attach(p_dvbpsi, i_table_id, i_extension,
> +                                  pf_callback, p_priv);
>  }
>
>  /***********************************************************
> ******************
> --
> 2.14.2
>
> _______________________________________________
> libdvbpsi-devel mailing list
> [email protected]
> https://mailman.videolan.org/listinfo/libdvbpsi-devel
>

--000000000000936b5c056cef236e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>Fixed in commit: 311cd26e0014aa8b42d3ef1b82=
b595abcb45b58f<br></div><div><br></div>Thank you for contributing.<br><br><=
/div>Gtz<br></div>Jean-Paul Saman<br></div><div class=3D"gmail_extra"><br><=
div class=3D"gmail_quote">On Wed, May 23, 2018 at 9:37 PM,  <span dir=3D"lt=
r">&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>=
&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Aman Gupta &lt;<=
a href=3D"mailto:[email protected]">[email protected]</a>&gt;<br>
<br>
Signed-off-by: Aman Gupta &lt;<a href=3D"mailto:[email protected]">[email protected]=
t</a>&gt;<br>
---<br>
=C2=A0src/tables/atsc_mgt.h | 4 ++--<br>
=C2=A01 file changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/src/tables/atsc_mgt.h b/src/tables/atsc_mgt.h<br>
index 225c215..184f8d4 100644<br>
--- a/src/tables/atsc_mgt.h<br>
+++ b/src/tables/atsc_mgt.h<br>
@@ -129,8 +129,8 @@ __attribute__((deprecated,<wbr>unused))<br>
=C2=A0inline bool dvbpsi_atsc_AttachMGT(dvbpsi_t *p_dvbpsi, uint8_t i_table=
_id,<br>
=C2=A0 =C2=A0 =C2=A0uint16_t i_extension, dvbpsi_atsc_mgt_callback pf_callb=
ack, void* p_priv)<br>
=C2=A0{<br>
-=C2=A0 =C2=A0 dvbpsi_atsc_mgt_attach(p_<wbr>dvbpsi, i_table_id, i_extensio=
n,<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0pf_callback, p_priv);<br>
+=C2=A0 =C2=A0 return dvbpsi_atsc_mgt_attach(p_<wbr>dvbpsi, i_table_id, i_e=
xtension,<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 pf_callback, p_priv);<br>
=C2=A0}<br>
<br>
=C2=A0/*****************************<wbr>******************************<wbr=
>******************<br>
<span class=3D"HOEnZb"><font color=3D"#888888">-- <br>
2.14.2<br>
<br>
______________________________<wbr>_________________<br>
libdvbpsi-devel mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]=
g</a><br>
<a href=3D"https://mailman.videolan.org/listinfo/libdvbpsi-devel" rel=3D"no=
referrer" target=3D"_blank">https://mailman.videolan.org/<wbr>listinfo/libd=
vbpsi-devel</a><br>
</font></span></blockquote></div><br></div>

--000000000000936b5c056cef236e--

--===============2610340636222711948==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGliZHZicHNp
LWRldmVsIG1haWxpbmcgbGlzdApsaWJkdmJwc2ktZGV2ZWxAdmlkZW9sYW4ub3JnCmh0dHBzOi8v
bWFpbG1hbi52aWRlb2xhbi5vcmcvbGlzdGluZm8vbGliZHZicHNpLWRldmVsCg==

--===============2610340636222711948==--