diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcharacter/llkeyframemotionparam.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/llcharacter/llkeyframemotionparam.cpp b/linden/indra/llcharacter/llkeyframemotionparam.cpp index 0bdc723..93df410 100644 --- a/linden/indra/llcharacter/llkeyframemotionparam.cpp +++ b/linden/indra/llcharacter/llkeyframemotionparam.cpp | |||
@@ -348,9 +348,9 @@ BOOL LLKeyframeMotionParam::loadMotions() | |||
348 | // Load data into a buffer to be parsed. | 348 | // Load data into a buffer to be parsed. |
349 | //------------------------------------------------------------------------- | 349 | //------------------------------------------------------------------------- |
350 | char path[LL_MAX_PATH]; /* Flawfinder: ignore */ | 350 | char path[LL_MAX_PATH]; /* Flawfinder: ignore */ |
351 | snprintf( path, sizeof(path), "%s_%s.llp", | 351 | snprintf( path,sizeof(path), "%s_%s.llp", /* Flawfinder: ignore */ |
352 | gDirUtilp->getExpandedFilename(LL_PATH_MOTIONS,mCharacter->getAnimationPrefix()).c_str(), | 352 | gDirUtilp->getExpandedFilename(LL_PATH_MOTIONS,mCharacter->getAnimationPrefix()).c_str(), |
353 | getName().c_str() ); /* Flawfinder: ignore */ | 353 | getName().c_str() ); |
354 | 354 | ||
355 | //------------------------------------------------------------------------- | 355 | //------------------------------------------------------------------------- |
356 | // open the file | 356 | // open the file |
@@ -425,7 +425,7 @@ BOOL LLKeyframeMotionParam::loadMotions() | |||
425 | // get priority | 425 | // get priority |
426 | //------------------------------------------------------------------------- | 426 | //------------------------------------------------------------------------- |
427 | BOOL isFirstMotion = TRUE; | 427 | BOOL isFirstMotion = TRUE; |
428 | num = sscanf(p, "%79s %79s %f", strA, strB, &floatA); | 428 | num = sscanf(p, "%79s %79s %f", strA, strB, &floatA); /* Flawfinder: ignore */ |
429 | 429 | ||
430 | while(1) | 430 | while(1) |
431 | { | 431 | { |
@@ -451,7 +451,7 @@ BOOL LLKeyframeMotionParam::loadMotions() | |||
451 | } | 451 | } |
452 | 452 | ||
453 | p++; | 453 | p++; |
454 | num = sscanf(p, "%79s %79s %f", strA, strB, &floatA); | 454 | num = sscanf(p, "%79s %79s %f", strA, strB, &floatA); /* Flawfinder: ignore */ |
455 | } | 455 | } |
456 | 456 | ||
457 | delete [] text; | 457 | delete [] text; |