Skip to content

Commit

Permalink
[core] Got rid of annoying compilation warnings
Browse files Browse the repository at this point in the history
There's no need to keep these unused static variables just in case.
They can be easily added back when and if they are actually needed.
  • Loading branch information
monich committed Aug 21, 2020
1 parent a833403 commit 9c4d5ca
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions core/src/nfc_ndef_rec.c
Expand Up @@ -45,13 +45,6 @@ struct nfc_ndef_rec_priv {

G_DEFINE_TYPE(NfcNdefRec, nfc_ndef_rec, G_TYPE_OBJECT)

static const GUtilData nfc_ndef_rec_type_hs = { (const guint8*) "Hs", 2 };
static const GUtilData nfc_ndef_rec_type_hr = { (const guint8*) "Hr", 2 };
static const GUtilData nfc_ndef_rec_type_hc = { (const guint8*) "Hc", 2 };
static const GUtilData nfc_ndef_rec_type_ac = { (const guint8*) "ac", 2 };
static const GUtilData nfc_ndef_rec_type_cr = { (const guint8*) "cr", 2 };
static const GUtilData nfc_ndef_rec_type_err = { (const guint8*) "err", 3 };

static
NfcNdefRec*
nfc_ndef_rec_alloc(
Expand Down

0 comments on commit 9c4d5ca

Please sign in to comment.