mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
fixup! Simplify Synaptics driver
Ignore zreo format length warning from GCC
This commit is contained in:
@@ -19,6 +19,8 @@
|
|||||||
#include "bmkt_internal.h"
|
#include "bmkt_internal.h"
|
||||||
#include "sensor.h"
|
#include "sensor.h"
|
||||||
|
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wformat-zero-length"
|
||||||
void print_buffer(uint8_t *buf, int len)
|
void print_buffer(uint8_t *buf, int len)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
@@ -33,6 +35,7 @@ void print_buffer(uint8_t *buf, int len)
|
|||||||
}
|
}
|
||||||
bmkt_dbg_log("");
|
bmkt_dbg_log("");
|
||||||
}
|
}
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
|
||||||
uint32_t extract32(const uint8_t *buf, int *offset)
|
uint32_t extract32(const uint8_t *buf, int *offset)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user