summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/client.cxx b/client.cxx
index 6e4a3f4..7c69b84 100644
--- a/client.cxx
+++ b/client.cxx
@@ -33,14 +33,12 @@ namespace QICClient {
void Client::results(QString const& prodGroup, icclient_handler handler)
{
- icclient_catalog* catalog = nullptr;
- icclient_results(prodGroup.toLatin1().constData(), callback, &catalog, handler);
+ icclient_results(prodGroup.toLatin1().constData(), callback, handler);
}
void Client::allProducts(icclient_handler handler)
{
- icclient_catalog* catalog = nullptr;
- icclient_allproducts(callback, &catalog, handler);
+ icclient_allproducts(callback, handler);
}
void Client::emitCatalog(icclient_catalog* catalog)