1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-09-29 08:19:48 +02:00

cosmetic: combine declaration and initialisation

Originally committed as revision 9392 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2007-06-23 00:47:27 +00:00
parent 26301cb806
commit 315a2858b6

View File

@ -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;