Skip to content

Fix whitespace errors and a typo from #2505 #2577

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions jbmc/src/java_bytecode/convert_java_nondet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Author: Reuben Thomas, [email protected]
#include "java_object_factory.h" // gen_nondet_init

/// Returns true if `expr` is a nondet pointer that isn't a function pointer or
/// a void* pointer as these can be meaningfully non-det initalized.
/// a void* pointer as these can be meaningfully non-det initialized.
static bool is_nondet_pointer(exprt expr)
{
// If the expression type doesn't have a subtype then I guess it's primitive
Expand Down Expand Up @@ -97,7 +97,7 @@ static std::pair<goto_programt::targett, bool> insert_nondet_init_code(
continue;
}

const auto &nondet_expr = to_side_effect_expr_nondet(op);
const auto &nondet_expr = to_side_effect_expr_nondet(op);

if(!nondet_expr.get_nullable())
object_factory_parameters.max_nonnull_tree_depth = 1;
Expand Down