Reported-By: cppcheck
Gbp-Dch: Ignore
va_list args; \
size_t msgSize = 400; \
int const errsv = errno; \
va_list args; \
size_t msgSize = 400; \
int const errsv = errno; \
va_start(args,Description); \
va_start(args,Description); \
- bool const retry = InsertErrno(TYPE, Function, Description, args, errsv, msgSize); \
+ retry = InsertErrno(TYPE, Function, Description, args, errsv, msgSize); \
- if (retry == false) \
- break; \
- } \
return false; \
}
GEMessage(FatalE, FATAL)
return false; \
}
GEMessage(FatalE, FATAL)
va_list args;
size_t msgSize = 400;
int const errsv = errno;
va_list args;
size_t msgSize = 400;
int const errsv = errno;
va_start(args,Description);
va_start(args,Description);
- bool const retry = InsertErrno(type, Function, Description, args, errsv, msgSize);
+ retry = InsertErrno(type, Function, Description, args, errsv, msgSize);
- if (retry == false)
- break;
- }
bool GlobalError::NAME (const char *Description,...) { \
va_list args; \
size_t msgSize = 400; \
bool GlobalError::NAME (const char *Description,...) { \
va_list args; \
size_t msgSize = 400; \
va_start(args,Description); \
va_start(args,Description); \
- if (Insert(TYPE, Description, args, msgSize) == false) \
- break; \
+ retry = Insert(TYPE, Description, args, msgSize); \
return false; \
}
GEMessage(Fatal, FATAL)
return false; \
}
GEMessage(Fatal, FATAL)
{
va_list args;
size_t msgSize = 400;
{
va_list args;
size_t msgSize = 400;
va_start(args,Description);
va_start(args,Description);
- if (Insert(type, Description, args, msgSize) == false)
- break;
+ retry = Insert(type, Description, args, msgSize);
va_list args;
size_t msgSize = 400;
int const errsv = errno;
va_list args;
size_t msgSize = 400;
int const errsv = errno;
va_start(args,Description);
va_start(args,Description);
- if (_error->InsertErrno(GlobalError::ERROR, Function, Description, args, errsv, msgSize) == false)
- break;
+ retry = _error->InsertErrno(GlobalError::ERROR, Function, Description, args, errsv, msgSize);
Flags |= Fail;
va_list args;
size_t msgSize = 400;
Flags |= Fail;
va_list args;
size_t msgSize = 400;
va_start(args,Description);
va_start(args,Description);
- if (_error->Insert(GlobalError::ERROR, Description, args, msgSize) == false)
- break;
+ retry = _error->Insert(GlobalError::ERROR, Description, args, msgSize);
static bool SkipUnavailableVersions(pkgDepCache &Cache, pkgCache::PkgIterator const &Pkg, pkgCache::VerIterator const &Ver)/*{{{*/
{
/* versions which aren't current and aren't available in
static bool SkipUnavailableVersions(pkgDepCache &Cache, pkgCache::PkgIterator const &Pkg, pkgCache::VerIterator const &Ver)/*{{{*/
{
/* versions which aren't current and aren't available in
- any "online" source file are bad, expect if they are the choosen
+ any "online" source file are bad, expect if they are the chosen
candidate: The exception is for build-dep implementation as it creates
such pseudo (package) versions and removes them later on again.
We filter out versions at all so packages in 'rc' state only available
candidate: The exception is for build-dep implementation as it creates
such pseudo (package) versions and removes them later on again.
We filter out versions at all so packages in 'rc' state only available
Acquire::AllowInsecureRepositories "1";
Acquire::AllowDowngradeToInsecureRepositories "1";
EOF
Acquire::AllowInsecureRepositories "1";
Acquire::AllowDowngradeToInsecureRepositories "1";
EOF
-# the hash marked as configureable in our gpgv method
+# the hash marked as configurable in our gpgv method
export APT_TESTS_DIGEST_ALGO='SHA224'
successfulaptgetupdate() {
export APT_TESTS_DIGEST_ALGO='SHA224'
successfulaptgetupdate() {