Skip to content

Remove unused variables in OfflineStorage_Room.cpp and HttpClient_Android.cpp #1037

Closed

Description

@ankitkapur

Remove unused variables in these CPP files that cause build breaks on various compilers.
See OTELCPP for Details.

Activity

  1. ankitkapur commented on Jul 11, 2022

    @ankitkapur
    Author

    auto result_count = env->GetArrayLength(java_records);
    change to size_t

  2. ankitkapur commented on Jul 11, 2022

    @ankitkapur
    Author

    remove
    static constexpr char newRecordSignature[] =
    "(JIIJIJ[B)Lcom/microsoft/applications/events/StorageRecord;";

  3. ankitkapur commented on Jul 11, 2022

    @ankitkapur
    Author

    remove
    int persist_lb = static_cast(EventPersistence_Normal);
    int persist_ub = static_cast(EventPersistence_DoNotStoreOnDisk);

  4. ankitkapur commented on Jul 11, 2022

    @ankitkapur
    Author

    remove
    size_t index = 0;

  5. bmehta001 commented on Jun 10, 2026

    @bmehta001
    Contributor

    Hi ankitkapur, Thanks for creating this issue. It will be closed by #1466.

  6. self-assigned this
    on Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

AndroidAndroid-related SDK issuesbugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions