mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 01:31:08 +00:00
Added assert in NSKeyValueObserving to suppress analyser warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32061 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fe79a1f2a5
commit
45c20425df
1 changed files with 1 additions and 0 deletions
|
@ -313,6 +313,7 @@ static NSString *newKey(SEL _cmd)
|
|||
unsigned len = strlen(name);
|
||||
NSString *key;
|
||||
unsigned i;
|
||||
NSCAssert(len > 0, @"Invalid selector name!");
|
||||
|
||||
if (*name == '_')
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue