From 6230bdd9ee37b932456ea6e2bf42ecd028424e70 Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Tue, 24 Feb 2015 01:51:14 +0000 Subject: Don't take the address of a 0-length vector. Fixes QPID-6409. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1661830 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/BrokerFixture.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'qpid/cpp') diff --git a/qpid/cpp/src/tests/BrokerFixture.h b/qpid/cpp/src/tests/BrokerFixture.h index c455dd10fc..474b9d747f 100644 --- a/qpid/cpp/src/tests/BrokerFixture.h +++ b/qpid/cpp/src/tests/BrokerFixture.h @@ -101,11 +101,13 @@ struct BrokerFixture : private boost::noncopyable { opts.auth=false; // Argument parsing - std::vector argv(args.size()); - for (size_t i = 0; i 0) { + std::vector argv(args.size()); + for (size_t i = 0; i