wxASSERT(false) --> wxFAIL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -774,7 +774,7 @@ wxWebViewZoom wxWebViewWebKit::GetZoom() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
// to shut up compilers, this can never be reached logically
|
// to shut up compilers, this can never be reached logically
|
||||||
wxASSERT(false);
|
wxFAIL;
|
||||||
return wxWEBVIEW_ZOOM_MEDIUM;
|
return wxWEBVIEW_ZOOM_MEDIUM;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -805,7 +805,7 @@ void wxWebViewWebKit::SetZoom(wxWebViewZoom zoom)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
wxASSERT(false);
|
wxFAIL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user