Skip to content

Commit ab4f401

Browse files
committed
Revert "use const qualifier for const variable"
This reverts commit 80fdbdd. `zend_eval_string` expects `char *` not `const char *` so making `code` `const char *` does not make much sense because it would have to be casted back to `char *`.
1 parent 3a356ea commit ab4f401

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/lib_composer.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ static void nr_execute_handle_autoload_composer_get_packages_information(
8888
}
8989

9090
// clang-format off
91-
const char* getallrawdata
91+
char* getallrawdata
9292
= ""
9393
"(function() {"
9494
" try {"

0 commit comments

Comments
 (0)