Skip to content
This repository has been archived by the owner on Mar 26, 2020. It is now read-only.

Avoid unused variable warning when compiling djinni_support.cpp #319

Merged
merged 1 commit into from
Aug 16, 2017

Conversation

webmaster128
Copy link
Contributor

@webmaster128 webmaster128 commented Aug 14, 2017

This avoids the warning

/project/support-lib/jni/djinni_support.cpp:61:37: warning: unused exception parameter 'e' [-Wunused-exception-parameter]
    } catch (const std::exception & e) {
                                    ^
1 warning generated.

@smarx
Copy link

smarx commented Aug 14, 2017

Automated message from Dropbox CLA bot

@webmaster128, thanks for the pull request! It looks like you haven't yet signed the Dropbox CLA. Please sign it here.

@artwyman
Copy link
Contributor

LGTM, thanks. @webmaster128 can you sign the CLA so I can merge this?
(Apparently this wasn't flagged with your earlier contributions to the nn repo. Probably an oversight, though I guess less relevant since the macros you changed there are sample code which Dropbox doesn't use as-is, and thus the lawyers are less likely to be worried.)

@artwyman artwyman self-requested a review August 16, 2017 04:14
@artwyman artwyman added the bug label Aug 16, 2017
@smarx
Copy link

smarx commented Aug 16, 2017

Automated message from Dropbox CLA bot

@webmaster128, thanks for signing the CLA!

@artwyman artwyman merged commit e54dab6 into dropbox:master Aug 16, 2017
mariannegru added a commit to mariannegru/djinni that referenced this pull request Jan 19, 2018
* upstream/master: (54 commits)
  Upgrade example build (dropbox#339)
  Separate `flags` to `enum_flags.djinni` (dropbox#346)
  Add a script to build static fat binary lib. (dropbox#341)
  Upgrade the example to Gradle 4.2 and Android plugin 2.3.3 (dropbox#329)
  Android parcelable support (dropbox#308)
  Add assembly to produce standalone jar. (dropbox#324)
  New "flags" archetype for enums oriented towards bitwise flags (dropbox#323)
  Add Xianwen to contacts
  Fix CFStringEncoding/NSStringEncoding confusion
  Added missing std:: in platform_threads_impl (dropbox#321)
  Avoid unused variable warning when compiling djinni_support.cpp (dropbox#319)
  [Android] Fix Djinni initialization crash in multi shared library case (dropbox#310)
  Fix rsync commands to not update timestamps on unchanged contents
  Swap the README.md change for a CONTRIBUTORS file for attribution.
  Renaming "temp" to "proxy_handle" to make more readable.
  Adding comment to warn of the potential segfault in gcc.
  Making three changes to fix compilation in our environment.
  Make Swift code more idiomatic
  move CMakeLists.txt file to root directory and rename target name to djinni_support_lib
  revert unintended generator change
  ...

# Conflicts:
#	example/generated-src/objc/TXSTextboxListener+Private.mm
#	example/objc/TextSort.xcodeproj/project.pbxproj
#	example/objc/TextSort.xcodeproj/xcshareddata/xcschemes/TextSort.xcscheme
#	src/source/ObjcppGenerator.scala
#	src/source/parser.scala
#	test-suite/djinni/common.djinni
#	test-suite/generated-src/inFileList.txt
#	test-suite/generated-src/objc/DBClientInterface+Private.mm
#	test-suite/generated-src/objc/DBEnumUsageInterface+Private.mm
#	test-suite/generated-src/objc/DBExternInterface2+Private.mm
#	test-suite/generated-src/objc/DBFirstListener+Private.mm
#	test-suite/generated-src/objc/DBObjcOnlyListener+Private.mm
#	test-suite/generated-src/objc/DBSecondListener+Private.mm
#	test-suite/generated-src/objc/DBUserToken+Private.mm
#	test-suite/generated-src/objc/DBUsesSingleLanguageListeners+Private.mm
#	test-suite/generated-src/outFileList.txt
#	test-suite/handwritten-src/java/com/dropbox/djinni/test/AllTests.java
#	test-suite/objc/DjinniObjcTest.xcodeproj/project.pbxproj
KhalilBellakrid pushed a commit to KhalilBellakrid/djinni that referenced this pull request Mar 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants