diff options
author | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
commit | 89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch) | |
tree | bcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/llcharacter/llkeyframemotionparam.cpp | |
parent | Second Life viewer sources 1.13.3.2 (diff) | |
download | meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2 meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz |
Second Life viewer sources 1.14.0.0
Diffstat (limited to 'linden/indra/llcharacter/llkeyframemotionparam.cpp')
-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; |