summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-03 10:32:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-03 13:09:21 +0100
commit9af3b8b4ff2e9e013b77a20775c151a2ec0e978f (patch)
treec4eb67ef653881c28d1addffe369f83495adcf44 /xmlhelp/source/cxxhelp/provider/urlparameter.cxx
parent7f0acedf9b5a7544f88af426d7ed3cf0e58176dd (diff)
CID#705780 seeing as this is irredeemably wrong remove it
This is catastrophically wrong, just appear to be lucky that this code path is never called, so remove it entirely rather than mess around fixing it Change-Id: I4a8a443ed20b7e11cd9cc69b3d66d28087f09db8
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/urlparameter.cxx')
-rw-r--r--xmlhelp/source/cxxhelp/provider/urlparameter.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
index 8cc8cf857ad4..6ea53045ec22 100644
--- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
+++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
@@ -794,13 +794,7 @@ helpRead(void * context, char * buffer, int len) {
static int
zipRead(void * context, char * buffer, int len) {
- if( !ugblData->m_pInitial->get_eid().isEmpty() )
- {
- ugblData->m_pDatabases->popupDocument( ugblData->m_pInitial,&buffer,&len);
- return len;
- }
- else
- return helpRead(context, buffer, len);
+ return helpRead(context, buffer, len);
}
static int