summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-09 12:15:06 +0300
committerTor Lillqvist <tml@collabora.com>2013-10-09 13:46:43 +0300
commitfe8ef98e2c1611a72bd2840cd08dc101f25b1cd3 (patch)
tree3a6167da4b41965710fffa43d5fe17699dd040c6 /connectivity
parent45ffc53a905aa4b4890d862a070a2d6e9bce8546 (diff)
Use assertions to ensure proper use of the osl command line arg API
Stephan says: I don't buy that argument of making things less fragile; IMO it's that "defensive programming" approach gone wrong, where you add complexity to mitigate a problem's effects in one place, instead of fixing the problem itself in the real place. [...] The better robustification is probably to turn the OSL_TRACE in osl_getCommandArgCount (sal/osl/unx/process_impl.cxx) into something stronger like SAL_WARN, assert, or std::abort Change-Id: I3ba6684b4921eb67c2f4534e29e33056e8a891b3
Diffstat (limited to 'connectivity')
0 files changed, 0 insertions, 0 deletions