[haiku-commits] Change in haiku[master]: KPPPInterface.cpp: Fix GCC error

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 30 Aug 2019 07:51:21 +0000

From Jarosław Pelczar <jarek@xxxxxxxxxxxx>:

Jarosław Pelczar has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/1759 ;)


Change subject: KPPPInterface.cpp: Fix GCC error
......................................................................

KPPPInterface.cpp: Fix GCC error

src/add-ons/kernel/network/ppp/shared/libkernelppp/KPPPInterface.cpp: In
member function 'void KPPPInterface::CalculateBaudRate()':
src/add-ons/kernel/network/ppp/shared/libkernelppp/KPPPInterface.cpp:2018:4:
error: this 'if' clause does not guard...
[-Werror=misleading-indentation]
    if (ChildAt(index)->Ifnet())
    ^~
src/add-ons/kernel/network/ppp/shared/libkernelppp/KPPPInterface.cpp:2020:5:
note: ...this statement, but the latter is misleadingly indented as if
it were guarded by the 'if'
     return;

Signed-off-by: Jaroslaw Pelczar <jarek@xxxxxxxxxxxx>
---
M src/add-ons/kernel/network/ppp/shared/libkernelppp/KPPPInterface.cpp
1 file changed, 4 insertions(+), 2 deletions(-)



  git pull ssh://git.haiku-os.org:22/haiku refs/changes/59/1759/1
--
To view, visit https://review.haiku-os.org/c/haiku/+/1759
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I8790a8ea3a961d73073b295ac438f3c60c16fcba
Gerrit-Change-Number: 1759
Gerrit-PatchSet: 1
Gerrit-Owner: Jarosław Pelczar <jarek@xxxxxxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in haiku[master]: KPPPInterface.cpp: Fix GCC error - Gerrit