mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Eliminate some warnings
This commit is contained in:
@@ -715,6 +715,7 @@ static int pty_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
|
||||
termiosp->c_iflag = dev->pd_iflag;
|
||||
termiosp->c_oflag = dev->pd_oflag;
|
||||
termiosp->c_lflag = 0;
|
||||
ret = OK;
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -732,6 +733,7 @@ static int pty_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
|
||||
|
||||
dev->pd_iflag = termiosp->c_iflag;
|
||||
dev->pd_oflag = termiosp->c_oflag;
|
||||
ret = OK;
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user