Merge pull request #253 from flyingdutchman23/master

Fix gcc-8.1.0 warning.
This commit is contained in:
Diego Nehab 2018-08-06 13:15:58 -03:00 committed by GitHub
commit 5813cd0505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -689,6 +689,7 @@ static size_t dot(int c, size_t state, luaL_Buffer *buffer)
case '.': case '.':
if (state == 2) if (state == 2)
luaL_addchar(buffer, '.'); luaL_addchar(buffer, '.');
/* Falls through. */
default: default:
return 0; return 0;
} }