mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-15 12:34:30 +00:00
common initializer: remove unnecessary code.
x is always not equal to zero.
This commit is contained in:
parent
4b54d7fcb6
commit
0773185f92
1 changed files with 0 additions and 1 deletions
|
@ -62,7 +62,6 @@ static bool _buildVersionInfo()
|
|||
|
||||
char micro[3];
|
||||
x = SRC + strlen(THORVG_VERSION_STRING);
|
||||
if (!x) return false;
|
||||
strncpy(micro, p, x - p);
|
||||
micro[x - p] = '\0';
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue