mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 06:33:34 +08:00
Fixed gcc 4.8 warnings
Disabled gcc warnings that are tripped by Eigen. Removed signal code that is not needed in Linux port and was causing gcc warnings. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -182,7 +182,7 @@ static int
|
||||
do_save(const char *param_file_name)
|
||||
{
|
||||
/* create the file */
|
||||
int fd = open(param_file_name, O_WRONLY | O_CREAT);
|
||||
int fd = open(param_file_name, O_WRONLY | O_CREAT, 0x777);
|
||||
|
||||
if (fd < 0) {
|
||||
warn("opening '%s' failed", param_file_name);
|
||||
|
||||
Reference in New Issue
Block a user