Add new coding style rules and fix appeared issues.

JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov a.shitov@samsung.com
This commit is contained in:
Andrey Shitov
2015-05-12 19:17:07 +03:00
parent ca12c16607
commit 9763a93df3
89 changed files with 1152 additions and 626 deletions
+2 -2
View File
@@ -55,7 +55,7 @@ main (int __attr_unused___ argc,
for (size_t j = 0; j < subiters; j++)
{
ptrs[j] = mem_pools_alloc ();
// JERRY_ASSERT(ptrs[j] != NULL);
// JERRY_ASSERT (ptrs[j] != NULL);
if (ptrs[j] != NULL)
{
@@ -71,7 +71,7 @@ main (int __attr_unused___ argc,
{
for (size_t k = 0; k < MEM_POOL_CHUNK_SIZE; k++)
{
JERRY_ASSERT(((uint8_t*) ptrs[j])[k] == 0);
JERRY_ASSERT (((uint8_t*) ptrs[j])[k] == 0);
}
mem_pools_free (ptrs[j]);