Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4521)

Unified Diff: native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc

Issue 22842011: [NaCl SDK] Remove invalid assert from nacl_io. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc b/native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc
index dcb3117ae3f91bb37d27e07ab3f9fdeadfb4dc40..db7791409614fff8ffd125d1ed0725617ddd5cea 100644
--- a/native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc
+++ b/native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc
@@ -10,7 +10,6 @@
#include "nacl_io/kernel_wrap.h"
-#include <assert.h>
#include <dirent.h>
#include <errno.h>
#include <irt.h>
@@ -35,7 +34,6 @@ EXTERN_C_BEGIN
// Assign the REAL function pointer.
#define ASSIGN_REAL_PTR(group, name) \
- assert(__libnacl_irt_##group.name != NULL); \
REAL(name) = __libnacl_irt_##group.name;
// Switch IRT's pointer to the REAL pointer
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc ('k') | native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698