1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 20:20:35 +00:00

Fix warning (missing initializer for struct members)

This commit is contained in:
Carles Fernandez 2018-12-03 02:10:14 +01:00
parent 24d431f74e
commit d4e12648b0
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -1,5 +1,5 @@
/*!
* \file kml_printer.cc
* \file nmea_printer.cc
* \brief Implementation of a NMEA 2.1 printer for GNSS-SDR
* This class provides a implementation of a subset of the NMEA-0183 standard for interfacing
* marine electronic devices as defined by the National Marine Electronics Association (NMEA).
@ -132,7 +132,9 @@ int Nmea_Printer::init_serial(const std::string& serial_device)
* Opens the serial device and sets the default baud rate for a NMEA transmission (9600,8,N,1)
*/
int fd = 0;
struct termios options = {};
struct termios options
{
};
int64_t BAUD;
int64_t DATABITS;
int64_t STOPBITS;