mirror of https://gerrit.osmocom.org/osmo-tetra
gsmtap: Fix warnings
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
1bc5434a99
commit
d4948d3c29
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
#include <osmocom/core/msgb.h>
|
#include <osmocom/core/msgb.h>
|
||||||
#include <osmocom/core/gsmtap.h>
|
#include <osmocom/core/gsmtap.h>
|
||||||
|
#include <osmocom/core/gsmtap_util.h>
|
||||||
#include <osmocom/core/bits.h>
|
#include <osmocom/core/bits.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
|
||||||
|
@ -70,8 +71,6 @@ int tetra_gsmtap_sendmsg(struct msgb *msg)
|
||||||
|
|
||||||
int tetra_gsmtap_init(const char *host, uint16_t port)
|
int tetra_gsmtap_init(const char *host, uint16_t port)
|
||||||
{
|
{
|
||||||
int fd;
|
|
||||||
|
|
||||||
g_gti = gsmtap_source_init(host, port, 0);
|
g_gti = gsmtap_source_init(host, port, 0);
|
||||||
if (!g_gti)
|
if (!g_gti)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
Loading…
Reference in New Issue