Commit 5c90022f authored by mru's avatar mru

cosmetic: combine declaration and initialisation


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9392 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 63bae1c9
......@@ -86,8 +86,7 @@ void pstrcpy(char *buf, int buf_size, const char *str)
/* strcat and truncate. */
char *pstrcat(char *buf, int buf_size, const char *s)
{
int len;
len = strlen(buf);
int len = strlen(buf);
if (len < buf_size)
pstrcpy(buf + len, buf_size - len, s);
return buf;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment